pyrocko.io.io_common

IO related exception definitions and utilities.

Exceptions

FileError(*args, **kwargs)

Base class for errors occurring when loading or saving data.

FileLoadError(*args, **kwargs)

Raised when a problem occurred while loading of a file.

FileSaveError(*args, **kwargs)

Raised when a problem occurred while saving of a file.

exception FileError(*args, **kwargs)[source]

Bases: Exception

Base class for errors occurring when loading or saving data.

exception FileLoadError(*args, **kwargs)[source]

Bases: FileError

Raised when a problem occurred while loading of a file.

exception FileSaveError(*args, **kwargs)[source]

Bases: FileError

Raised when a problem occurred while saving of a file.