Module rusty_results.exceptions
Functions
def early_return(f)
Classes
class EarlyReturnException (value: ~T)
-
Inappropriate argument value (of correct type).
Expand source code
class EarlyReturnException(ValueError): def __init__(self, value: T): self.value = value super().__init__(self.value)
Ancestors
- builtins.ValueError
- builtins.Exception
- builtins.BaseException
class UnwrapException (*args, **kwargs)
-
Common base class for all non-exit exceptions.
Expand source code
class UnwrapException(Exception): ...
Ancestors
- builtins.Exception
- builtins.BaseException