From e4256c1eb1fb6ceb04dddcbf9e1740b188ceaa3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1igo=20Medina?= Date: Fri, 13 Apr 2018 10:33:03 +0200 Subject: [PATCH] Create 04-error-handling.md --- docs/reference/04-error-handling.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 docs/reference/04-error-handling.md diff --git a/docs/reference/04-error-handling.md b/docs/reference/04-error-handling.md new file mode 100644 index 0000000..aef0671 --- /dev/null +++ b/docs/reference/04-error-handling.md @@ -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.