Difference between revisions of "Errors"
From MyMobileWorkers API
(Created page with "Exceptions are returned as a JSON response with error code and error message fields. === Example === { "description":"Exception containing error code and error message", ...") |
(→Example) |
||
| Line 2: | Line 2: | ||
=== Example === | === Example === | ||
| − | + | <source lang="java"> | |
{ | { | ||
"description":"Exception containing error code and error message", | "description":"Exception containing error code and error message", | ||
| Line 11: | Line 11: | ||
} | } | ||
} | } | ||
| + | </source> | ||
Revision as of 15:45, 13 May 2013
Exceptions are returned as a JSON response with error code and error message fields.
Example
{ "description":"Exception containing error code and error message", "type":"object", "properties":{ "error_code":{ "type":"string" }, "error_message":{ "type":"string" } } }