dataservices-api/docs/reference/04-error-handling.md

6 lines
241 B
Markdown
Raw Normal View History

2018-04-13 16:33:03 +08:00
## Error handling
Most of the errors fired by the API are handled by the API itself. It triggers a `CartoError` every time an error happens.
A cartoError is an object containing a single `message` field with a string explaining the error.