CartoDB / carto-python

CARTO Python client
https://carto.com
BSD 3-Clause "New" or "Revised" License
154 stars 62 forks source link

Feature request: more error types #112

Closed andy-esch closed 4 years ago

andy-esch commented 5 years ago

It'd be great to have the following exceptions added so we can handle errors better on the application side:

To be able to handle these, we have to inspect the string, which is not a stable way to handle exceptions.

cc @alrocar

alrocar commented 5 years ago

Related comment

andy-esch commented 5 years ago

Mostly related to this is https://github.com/CartoDB/carto-python/issues/85, which asks for more information within individual exceptions. E.g., besides an exception, it might be really useful to give http error codes and other information so more granular exceptions can be dealt with

Jesus89 commented 4 years ago

Dup #1029