Module pyucrio.exceptions
Unique exception classes utilized by PyUCRio. These exceptions can be used to help trap specific errors raised by this library.
Note that all exceptions are imported at the root level of the library. They
can be referenced using pyucrio.PyUCRioError
or PyUCRioError.
Classes
class PyUCRioAPIError (*args, **kwargs)-
Expand source code
class PyUCRioAPIError(PyUCRioError): """ Error occurred during an API call """ passError occurred during an API call
Ancestors
- PyUCRioError
- builtins.Exception
- builtins.BaseException
class PyUCRioDownloadError (*args, **kwargs)-
Expand source code
class PyUCRioDownloadError(PyUCRioError): """ Error occurred during downloading of data NOTE: this is primarily a PyUCalgarySRS error """ passError occurred during downloading of data
NOTE: this is primarily a PyUCalgarySRS error
Ancestors
- PyUCRioError
- builtins.Exception
- builtins.BaseException
class PyUCRioError (*args, **kwargs)-
Expand source code
class PyUCRioError(Exception): def __init__(self, *args, **kwargs): super(PyUCRioError, self).__init__(*args, **kwargs) # pragma: no coverCommon base class for all non-exit exceptions.
Ancestors
- builtins.Exception
- builtins.BaseException
Subclasses
class PyUCRioInitializationError (*args, **kwargs)-
Expand source code
class PyUCRioInitializationError(PyUCRioError): """ Error occurred during library initialization """ passError occurred during library initialization
Ancestors
- PyUCRioError
- builtins.Exception
- builtins.BaseException
class PyUCRioPurgeError (*args, **kwargs)-
Expand source code
class PyUCRioPurgeError(PyUCRioError): """ Error occurred during purging of download working directory """ passError occurred during purging of download working directory
Ancestors
- PyUCRioError
- builtins.Exception
- builtins.BaseException
class PyUCRioUnsupportedReadError (*args, **kwargs)-
Expand source code
class PyUCRioUnsupportedReadError(PyUCRioError): """ Unsupported dataset for read function NOTE: this is primarily a PyUCalgarySRS error """ passUnsupported dataset for read function
NOTE: this is primarily a PyUCalgarySRS error
Ancestors
- PyUCRioError
- builtins.Exception
- builtins.BaseException