Errors#

CustomException#

class DuckDuck.BaseException(message: str)[source]#

The base exception class for all of the other exceptions.

FileNotUploaded#

class DuckDuck.FileNotUploaded(message: str)[source]#

Raised when there’s a problem with uploading a file to the add endpoint.

CouldNotConnect#

class DuckDuck.CouldNotConnect(status: int)[source]#

Raised when there’s a problem with connecting to the API.

NotFound#

class DuckDuck.NotFound[source]#

Raised when API response status returns 404.