macrosynergy.download.exceptions#

Custom exceptions for the macrosynergy.download subpackage.

exception ExceptionAdapter(message='')[source]#

Bases: Exception

Base class for all exceptions raised by the macrosynergy package.

exception AuthenticationError(message='')[source]#

Bases: ExceptionAdapter

Raised when authentication fails.

exception DownloadError(message='')[source]#

Bases: ExceptionAdapter

Raised when a download fails or is incomplete.

exception InvalidResponseError(message='')[source]#

Bases: ExceptionAdapter

Raised when a response is not valid.

exception HeartbeatError(message='')[source]#

Bases: ExceptionAdapter

Raised when a heartbeat fails.

exception InvalidDataframeError(message='')[source]#

Bases: ExceptionAdapter

Raised when a dataframe is not valid.

exception MissingDataError(message='')[source]#

Bases: ExceptionAdapter

Raised when data is missing from a requested dataframe.

exception NoContentError(message='')[source]#

Bases: ExceptionAdapter

Raised when no data is returned from a request.

exception DataOutOfSyncError(message='')[source]#

Bases: ExceptionAdapter

Raised when data is out of sync with the expected data.