Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 525 Bytes

exceptions.rst

File metadata and controls

15 lines (12 loc) · 525 Bytes

Exceptions

If an error occurs, the API attempts to roll the error into an appropriate Exception class.

Exception Classes

.. autoexception:: cbc_sdk.errors.ApiError
.. autoexception:: cbc_sdk.errors.CredentialError
.. autoexception:: cbc_sdk.errors.ServerError
.. autoexception:: cbc_sdk.errors.ObjectNotFoundError
.. autoexception:: cbc_sdk.errors.MoreThanOneResultError
.. autoexception:: cbc_sdk.errors.InvalidObjectError
.. autoexception:: cbc_sdk.errors.TimeoutError