SBART.utils.custom_exceptions

SBART.utils.custom_exceptions#

Functions

ensure_invalid_template(func)

Exceptions

AlreadyLoaded

Raised when we try to load something that was already loaded!

BadOrderError

Raised when we access a bad order

BadTemplateError

Used whenever we try to access a template that failed its computation

DeadWorkerError

Used when a worker finds a problem

Error

Base class for exceptions in this module.

FailedStorage

Used whenever we try to access a template that failed its computation

FrameError

Raised when a INVALID S2D file is opened!

InternalError

Used whenever we have an error with the non-user part of the code

InvalidConfiguration

Used when a given configuration falls outside the accepted values

MissingRootPath

Used whenever we have an error with the non-user part of the code

NoComputedRVsError

Used when trying to access to a RV cue that was not computed

NoConvergenceError

Raised when we access data from a fit that did not converge

NoDataError

Used whenever we are left with no data to proccess

StopComputationError

Used whenever we have an error with the non-user part of the code

TemplateNotExistsError

Used whenever we try to access a template that does not exist

exception Error#

Bases: Exception

Base class for exceptions in this module.

exception FrameError#

Bases: Error

Raised when a INVALID S2D file is opened!

exception AlreadyLoaded#

Bases: Error

Raised when we try to load something that was already loaded!

exception BadOrderError#

Bases: Error

Raised when we access a bad order

exception NoConvergenceError#

Bases: Error

Raised when we access data from a fit that did not converge

exception NoComputedRVsError#

Bases: Error

Used when trying to access to a RV cue that was not computed

Parameters:

Error ([type]) – [description]

exception DeadWorkerError#

Bases: Error

Used when a worker finds a problem

exception InvalidConfiguration#

Bases: Error

Used when a given configuration falls outside the accepted values

exception TemplateNotExistsError#

Bases: Error

Used whenever we try to access a template that does not exist

exception BadTemplateError#

Bases: Error

Used whenever we try to access a template that failed its computation

exception FailedStorage#

Bases: Error

Used whenever we try to access a template that failed its computation

exception NoDataError#

Bases: Error

Used whenever we are left with no data to proccess

exception InternalError#

Bases: Error

Used whenever we have an error with the non-user part of the code

exception MissingRootPath#

Bases: Error

Used whenever we have an error with the non-user part of the code

exception StopComputationError#

Bases: Error

Used whenever we have an error with the non-user part of the code

ensure_invalid_template(func)#