PymseedError

exception pymseed.PymseedError[source]

Bases: RuntimeError

Base class for all pymseed exceptions.

Inherits from RuntimeError because most concrete pymseed errors describe runtime/I/O/data conditions — bad CRC, unexpected end of file, wrong record length, libmseed allocation failure — none of which are ValueErrors in the Python-stdlib sense (“right type, wrong value”).

Concrete pymseed errors (MiniSEEDError, …) all derive from this class. Future additions should also inherit from it so callers do not have to grow except (A, B, C, …) tuples.