ckan_api_client.exceptions
Exceptions used all over the place
-
exception ckan_api_client.exceptions.HTTPError(status_code, message, original=None)[source]
Bases: exceptions.Exception
Exception representing an HTTP response error.
-
status_code
HTTP status code
-
message
Informative error message, if available
-
exception ckan_api_client.exceptions.BadApiError[source]
Bases: exceptions.Exception
Exception used to mark bad behavior from the API
-
exception ckan_api_client.exceptions.BadApiWarning[source]
Bases: exceptions.UserWarning
Warning to mark bad behavior from the API
-
exception ckan_api_client.exceptions.OperationFailure[source]
Bases: exceptions.Exception
Something went wrong // failed expectations somewhere..