How the Jobs API reports success and errors is now covered in the Jobs API overview.
See Jobs API overview: the "Responses" section describes the data, error and warn keys, and "Status codes" lists every status the API returns. Each endpoint page lists its own error messages.