exceptions

module of dascore source

Custom dascore exceptions.

Classes

Name Description
DASCoreError Base class for dascore errors.
FilterValueError Raise when something goes wrong with filtering or filter inputs.
InvalidFiberFile Raised when a fiber operation is called on an invalid file.
InvalidFileFormatter Raised when an invalid file formatter is defined or used.
InvalidFileHandler Raised when a writable file handler is requested from a read handle.
InvalidIndexVersionError Raised when a version mismatch occurs in index.
InvalidTimeRange Raised when an invalid time range is encountered.
MissingOptionalDependency Raised when an optional package needed for some functionality is missing.
ParameterError Raised when something is wrong with an input parameter.
PatchAttributeError Raised when something is wrong with a Patch’s attributes.
PatchCoordError Raised when something is wrong with a Patch’s coordinates.
PatchDimError Raised when something is wrong with a Patch’s dimension.
PatchError Parent class for more specific Patch Errors.
TimeError Raised when something is wrong with a time value.
UnknownExample Raised when an unregistered example is requested.
UnknownFiberFormat Raised when the format of an alleged fiber file is not recognized.
UnsupportedKeyword Raised when dascore encounters an unexpected keyword.