Create 04-error-handling.md

This commit is contained in:
Iñigo Medina 2018-04-13 10:33:03 +02:00 committed by GitHub
parent 6b38d89153
commit e4256c1eb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,5 @@
## 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.