You're reading an old version of this documentation. For up-to-date information, please have a look at v0.3.

aspecd.exceptions module

Exceptions for the ASpecD package.

For preventing cyclic imports and for a better overview, all exception classes of the ASpecD package are collected in this module. It is save for every other module to import this module, as this module does not depend on any other modules.

exception aspecd.exceptions.Error

Bases: Exception

Base class for exceptions in this module.

exception aspecd.exceptions.MissingParameterError(message='')

Bases: aspecd.exceptions.Error

Exception raised when a necessary parameter is missing.

Specify the parameter in the message, to give users a hint what went wrong.

message

explanation of the error

Type

str

exception aspecd.exceptions.MissingPlotterError(message='')

Bases: aspecd.exceptions.Error

Exception raised when no plotter is provided.

message

explanation of the error

Type

str

exception aspecd.exceptions.MissingDatasetError(message='')

Bases: aspecd.exceptions.Error

Exception raised when no dataset exists to act on

message

explanation of the error

Type

str

exception aspecd.exceptions.MissingSaverError(message='')

Bases: aspecd.exceptions.Error

Exception raised when no saver is provided.

message

explanation of the error

Type

str

exception aspecd.exceptions.MissingFilenameError(message='')

Bases: aspecd.exceptions.Error

Exception raised when no filename was provided

message

explanation of the error

Type

str

exception aspecd.exceptions.MissingPlotError(message='')

Bases: aspecd.exceptions.Error

Exception raised when no plot exists to save.

message

explanation of the error

Type

str

exception aspecd.exceptions.MissingFigureError(message='')

Bases: aspecd.exceptions.Error

Exception raised when no figure is provided.

message

explanation of the error

Type

str

exception aspecd.exceptions.MissingAxisError(message='')

Bases: aspecd.exceptions.Error

Exception raised when no axis is provided.

message

explanation of the error

Type

str

exception aspecd.exceptions.MissingLegendError(message='')

Bases: aspecd.exceptions.Error

Exception raised when no legend is provided.

message

explanation of the error

Type

str

exception aspecd.exceptions.MissingDrawingError(message='')

Bases: aspecd.exceptions.Error

Exception raised when no drawing (line, …) is provided.

message

explanation of the error

Type

str

exception aspecd.exceptions.MissingTargetError(message='')

Bases: aspecd.exceptions.Error

Exception raised when expecting a filename but none is provided

message

explanation of the error

Type

str

exception aspecd.exceptions.MissingRecipeError(message='')

Bases: aspecd.exceptions.Error

Exception raised when no recipe exists to act on.

message

explanation of the error

Type

str

exception aspecd.exceptions.MissingSourceError(message='')

Bases: aspecd.exceptions.Error

Exception raised when expecting a filename but none is provided

message

explanation of the error

Type

str

exception aspecd.exceptions.MissingProcessingStepError(message='')

Bases: aspecd.exceptions.Error

Exception raised trying to process without processing_step

message

explanation of the error

Type

str

exception aspecd.exceptions.UndoWithEmptyHistoryError(message='')

Bases: aspecd.exceptions.Error

Exception raised trying to undo with empty history

message

explanation of the error

Type

str

exception aspecd.exceptions.UndoAtBeginningOfHistoryError(message='')

Bases: aspecd.exceptions.Error

Exception raised trying to undo with history pointer at zero

message

explanation of the error

Type

str

exception aspecd.exceptions.UndoStepUndoableError(message='')

Bases: aspecd.exceptions.Error

Exception raised trying to undo an undoable step of history

message

explanation of the error

Type

str

exception aspecd.exceptions.RedoAlreadyAtLatestChangeError(message='')

Bases: aspecd.exceptions.Error

Exception raised trying to redo with empty history

message

explanation of the error

Type

str

exception aspecd.exceptions.ProcessingWithLeadingHistoryError(message='')

Bases: aspecd.exceptions.Error

Exception raised trying to process with leading history

message

explanation of the error

Type

str

exception aspecd.exceptions.MissingImporterFactoryError(message='')

Bases: aspecd.exceptions.Error

Exception raised when no ImporterFactory instance is provided

message

explanation of the error

Type

str

exception aspecd.exceptions.AxesCountError(message='')

Bases: aspecd.exceptions.Error

Exception raised for wrong number of axes

message

explanation of the error

Type

str

exception aspecd.exceptions.AxesValuesInconsistentWithDataError(message='')

Bases: aspecd.exceptions.Error

Exception raised for axes values inconsistent with data

message

explanation of the error

Type

str

exception aspecd.exceptions.AxisValuesDimensionError(message='')

Bases: aspecd.exceptions.Error

Exception raised for wrong dimension of values

message

explanation of the error

Type

str

exception aspecd.exceptions.AxisValuesTypeError(message='')

Bases: aspecd.exceptions.Error

Exception raised for wrong type of values

message

explanation of the error

Type

str

exception aspecd.exceptions.MissingImporterError(message='')

Bases: aspecd.exceptions.Error

Exception raised importing without aspecd.io.DatasetImporter

message

explanation of the error

Type

str

exception aspecd.exceptions.MissingExporterError(message='')

Bases: aspecd.exceptions.Error

Exception raised importing without aspecd.io.DatasetExporter

message

explanation of the error

Type

str

exception aspecd.exceptions.NoContentError(message='')

Bases: aspecd.exceptions.Error

Exception raised when no content was provided

message

explanation of the error

Type

str

exception aspecd.exceptions.UnknownScopeError(message='')

Bases: aspecd.exceptions.Error

Exception raised when unknown scope was tried to set

message

explanation of the error

Type

str

exception aspecd.exceptions.MissingAnnotationError(message='')

Bases: aspecd.exceptions.Error

Exception raised when no annotation exists to act on

message

explanation of the error

Type

str

exception aspecd.exceptions.InfofileTypeError(message='')

Bases: aspecd.exceptions.Error

Exception raised for wrong file format.

message

explanation of the error

Type

str

exception aspecd.exceptions.InfofileEmptyError(message='')

Bases: aspecd.exceptions.Error

Exception raised for empty file.

message

explanation of the error

Type

str

exception aspecd.exceptions.NotApplicableToDatasetError(message='')

Bases: aspecd.exceptions.Error

Exception raised when task is not applicable to dataset.

message

explanation of the error

Type

str

exception aspecd.exceptions.StyleNotFoundError(message='')

Bases: aspecd.exceptions.Error

Exception raised when the requested style could not be found

message

explanation of the error

Type

str

exception aspecd.exceptions.LaTeXExecutableNotFoundError(message='')

Bases: aspecd.exceptions.Error

Exception raised when the LaTeX executable could not be found

message

explanation of the error

Type

str

exception aspecd.exceptions.MissingDictError(message='')

Bases: aspecd.exceptions.Error

Exception raised when expecting a dict but none is provided

message

explanation of the error

Type

str

exception aspecd.exceptions.MissingDatasetFactoryError(message='')

Bases: aspecd.exceptions.Error

Exception raised when no ImporterFactory instance is provided

message

explanation of the error

Type

str

exception aspecd.exceptions.MissingTaskFactoryError(message='')

Bases: aspecd.exceptions.Error

Exception raised when no TaskFactory instance is provided

message

explanation of the error

Type

str

exception aspecd.exceptions.MissingTaskDescriptionError(message='')

Bases: aspecd.exceptions.Error

Exception raised when no description for creating a task is provided

message

explanation of the error

Type

str

exception aspecd.exceptions.MissingDatasetIdentifierError(message='')

Bases: aspecd.exceptions.Error

Exception raised when no dataset id is provided

message

explanation of the error

Type

str