Skip to content

Commit

Permalink
Newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
duckduckgrayduck committed Feb 27, 2023
1 parent 789bcc3 commit 0e0ecfc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/exceptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,28 @@ DocumentCloudError
-------------------

.. class:: documentcloud.exceptions.DocumentCloudError(Exception)

Base class for errors for python-documentcloud

DuplicateObjectError
---------------------

.. class:: documentcloud.exceptions.DuplicateObjectError(DocumentCloudError)

Raised when an object is added to a unique list more than once.

CredentialsFailedError
----------------------

.. class:: documentcloud.exceptions.CredentialsFailedError(DocumentCloudError)

Raised if unable to obtain an access token due to bad login credentials.

APIError
--------

.. class:: documentcloud.exceptions.APIError(DocumentCloudError)

Any other error calling the API.

DoesNotExistError
Expand All @@ -42,4 +46,5 @@ MultipleObjectsReturnedError
----------------------------

.. class:: documentcloud.exceptions.MultipleObjectsReturnedError(APIError)

Raised when the API returns multiple objects when it expected one.

0 comments on commit 0e0ecfc

Please sign in to comment.