exceptions

module of dascore source

Custom dascore exceptions.

Classes

Name Description
AttributeMergeError Raised when something is wrong with combining attributes.
CoordDataError Raised when the data shape doesn’t match the coordinates.
CoordError Raised when something is wrong with a Coordinate.
CoordMergeError Raised when something is wrong with requested merge operation.
CoordSortError Raised when coordinates cannot be sorted.
DASCoreError Base class for dascore errors.
FilterValueError Raise when something goes wrong with filtering or filter inputs.
IncompatiblePatchError Raised when an operator cannot be performed on a patch.
InvalidFiberFile Raised when a fiber operation is called on an invalid file.
InvalidFiberIO Raised when an invalid Fiber IO 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.
InvalidSpoolError Raised when something is wrong with a spool.
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.
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.
UnitError Raised when an issue is encountered with unit handling.
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.