exceptions

module of dascore source

Custom dascore exceptions.

Classes

Name Description
AttributeMergeError Raised when something is wrong with combining attributes.
ChunkError Raised when chunking goes awry.
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.
InvalidFiberFileError Raised when a fiber operation is called on an invalid file.
InvalidFiberIOError Raised when an invalid Fiber IO is defined or used.
InvalidFileHandlerError 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.
InvalidTimeRangeError Raised when an invalid time range is encountered.
MissingOptionalDependencyError 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.
PatchConversionError Raised when a patch conversion to a different format fails.
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.
UnknownExampleError Raised when an unregistered example is requested.
UnknownFiberFormatError Raised when the format of an alleged fiber file is not recognized.
UnsupportedKeywordError Raised when dascore encounters an unexpected keyword.