You're reading the documentation for a development version. For the latest released version, please have a look at v0.11.

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: 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: Error

Exception raised when no plotter is provided.

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised when no dataset exists to act on

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised when no saver is provided.

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised when no filename was provided

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised when no plot exists to save.

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised when no figure is provided.

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised when no axis is provided.

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised when no legend is provided.

message

explanation of the error

Type:

str

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

Bases: Error

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

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised when expecting a filename but none is provided

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised when no recipe exists to act on.

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised when expecting a filename but none is provided

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised trying to process without processing_step

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised trying to analyse without analysis_step

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised trying to undo with empty history

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised trying to undo with history pointer at zero

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised trying to undo an undoable step of history

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised trying to redo with empty history

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised trying to process with leading history

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised when no ImporterFactory instance is provided

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised for wrong number of axes

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised for axes values inconsistent with data

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised importing without aspecd.io.DatasetImporter

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised importing without aspecd.io.DatasetExporter

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised when no content was provided

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised when unknown scope was tried to set

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised when no annotation exists to act on

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised for wrong file format.

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised for empty file.

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised when task is not applicable to dataset.

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised when the requested style could not be found

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised when the LaTeX executable could not be found

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised when expecting a dict but none is provided

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised when no ImporterFactory instance is provided

message

explanation of the error

Type:

str

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

Bases: Error

Exception raised when no TaskFactory instance is provided

message

explanation of the error

Type:

str

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

Bases: 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: Error

Exception raised when no dataset id is provided

message

explanation of the error

Type:

str