tesliper.exceptions

Project-specific errors.

Exceptions

InconsistentDataError

Raised to signalize problems with conformers' data consistency.

InvalidElementError

Used by tesliper to indicate, that value cannot be interpreted as an element.

InvalidStateError

Used by ParserBase class to signalize problems when handling states.

TesliperError

Base class for Exceptions used by tesliper library.

exception tesliper.exceptions.TesliperError[source]

Base class for Exceptions used by tesliper library.

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception tesliper.exceptions.InconsistentDataError[source]

Raised to signalize problems with conformers’ data consistency. Subclasses TesliperError.

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception tesliper.exceptions.InvalidStateError[source]

Used by ParserBase class to signalize problems when handling states. Subclasses TesliperError and ValueError.

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception tesliper.exceptions.InvalidElementError[source]

Used by tesliper to indicate, that value cannot be interpreted as an element. Subclasses TesliperError and ValueError.

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.