Module tenlib.exception
Framework exceptions.
Classes
class TenError (*args, **kwargs)
-
Base class for errors produced by the framework.
Expand source code
class TenError(Exception): """Base class for errors produced by the framework."""
Ancestors
- builtins.Exception
- builtins.BaseException
Subclasses
class TenExit (message)
-
Instances of that class, if raised, will be caught by the
entry()
function and the function will exit.Expand source code
class TenExit(Exception): """Instances of that class, if raised, will be caught by the `tenlib.flow.entry` function and the function will exit. """ def __init__(self, message): super().__init__() self.message = message
Ancestors
- builtins.Exception
- builtins.BaseException
Subclasses
class TenFailure (message)
-
Instances of that class, if raised, will be caught by the
entry()
function and the function will exit.Expand source code
class TenFailure(TenExit): pass
Ancestors
- TenExit
- builtins.Exception
- builtins.BaseException