Source code for ocdskingfishercolab.exceptions

"""Exception classes."""


[docs] class OCDSKingfisherColabError(Exception): """Base class for exceptions from within this package."""
[docs] class UnknownPackageTypeError(OCDSKingfisherColabError, ValueError): """Raised when the provided package type is unknown."""
[docs] class MissingFieldsError(OCDSKingfisherColabError): """Raised when no fields are provided to a function."""