Module mydata_did.v1_0.utils.wallet.error
Wallet-related exceptions.
Expand source code
"""Wallet-related exceptions."""
from aries_cloudagent.core.error import BaseError
class WalletError(BaseError):
"""General wallet exception."""
class WalletNotFoundError(WalletError):
"""Record not found exception."""
class WalletDuplicateError(WalletError):
"""Duplicate record exception."""
class WalletSettingsError(WalletError):
"""Invalid settings exception."""
Classes
class WalletDuplicateError (*args, error_code: str = None, **kwargs)
-
Duplicate record exception.
Initialize a BaseError instance.
Expand source code
class WalletDuplicateError(WalletError): """Duplicate record exception."""
Ancestors
- WalletError
- aries_cloudagent.core.error.BaseError
- builtins.Exception
- builtins.BaseException
class WalletError (*args, error_code: str = None, **kwargs)
-
General wallet exception.
Initialize a BaseError instance.
Expand source code
class WalletError(BaseError): """General wallet exception."""
Ancestors
- aries_cloudagent.core.error.BaseError
- builtins.Exception
- builtins.BaseException
Subclasses
class WalletNotFoundError (*args, error_code: str = None, **kwargs)
-
Record not found exception.
Initialize a BaseError instance.
Expand source code
class WalletNotFoundError(WalletError): """Record not found exception."""
Ancestors
- WalletError
- aries_cloudagent.core.error.BaseError
- builtins.Exception
- builtins.BaseException
class WalletSettingsError (*args, error_code: str = None, **kwargs)
-
Invalid settings exception.
Initialize a BaseError instance.
Expand source code
class WalletSettingsError(WalletError): """Invalid settings exception."""
Ancestors
- WalletError
- aries_cloudagent.core.error.BaseError
- builtins.Exception
- builtins.BaseException