Source code for ten8t.ten8t_exception

"""Basic exception classes for ten8t."""


[docs] class Ten8tTypeError(TypeError): """Type errors associated with setting up ten8t When bad types are sent to ten8t, this exception will be raised and should not be confused the TypeError that (should) indicate an unexpected lower level error. """
[docs] class Ten8tValueError(ValueError): """ Value Error associated with setting up ten8t These exceptions will occur when setting up parameters on ten8t attributes and basic setup. For example a negative weight. """
[docs] class Ten8tException(Exception): """Specialized exception for ten8t."""