aea.exceptions
Exceptions for the AEA package.
AEAException Objects
User-defined exception for the AEA framework.
AEAPackageLoadingError Objects
Class for exceptions that are raised for loading errors of AEA packages.
AEASetupError Objects
Class for exceptions that are raised for setup errors of AEA packages.
AEATeardownError Objects
Class for exceptions that are raised for teardown errors of AEA packages.
AEAActException Objects
Class for exceptions that are raised for act errors of AEA packages.
AEAHandleException Objects
Class for exceptions that are raised for handler errors of AEA packages.
AEAInstantiationException Objects
Class for exceptions that are raised for instantiation errors of AEA packages.
AEAPluginError Objects
Class for exceptions that are raised for wrong plugin setup of the working set.
AEAEnforceError Objects
Class for enforcement errors.
AEAValidationError Objects
Class for validation errors of an AEA.
AEAComponentLoadException Objects
Class for component loading errors of an AEA.
AEAWalletNoAddressException Objects
Class for attempts to instantiate a wallet without addresses.
_
StopRuntime Objects
Exception to stop runtime.
For internal usage only! Used to perform asyncio call from sync callbacks.
__
init__
Init _StopRuntime exception.
Arguments:
reraise
: exception to reraise.
enforce
enforce(is_valid_condition: bool, exception_text: str, exception_class: Type[Exception] = AEAEnforceError) -> None
Evaluate a condition and raise an exception with the provided text if it is not satisfied.
Arguments:
is_valid_condition
: the valid conditionexception_text
: the exception to be raisedexception_class
: the class of exception
parse_
exception
Parse an exception to get the relevant lines.
Arguments:
exception
: the exception to be parsedlimit
: the limit
Returns:
exception as string