Edit on GitHub

communex.errors

 1class ChainTransactionError(Exception):
 2    """Error for any chain transaction related errors."""
 3
 4
 5class NetworkError(Exception):
 6    """Base for any network related errors."""
 7
 8
 9class NetworkQueryError(NetworkError):
10    """Network query related error."""
11
12
13class NetworkTimeoutError(NetworkError):
14    """Timeout error"""
15
16
17class PasswordError(Exception):
18    """Password related error."""
19
20
21class PasswordNotProvidedError(PasswordError):
22    """Password is not provided."""
23
24
25class InvalidPasswordError(PasswordError):
26    """Password is invalid."""
27
28
29class KeyNotFoundError(Exception):
30    """Key not found error."""
class ChainTransactionError(builtins.Exception):
2class ChainTransactionError(Exception):
3    """Error for any chain transaction related errors."""

Error for any chain transaction related errors.

Inherited Members
builtins.Exception
Exception
builtins.BaseException
with_traceback
add_note
args
class NetworkError(builtins.Exception):
6class NetworkError(Exception):
7    """Base for any network related errors."""

Base for any network related errors.

Inherited Members
builtins.Exception
Exception
builtins.BaseException
with_traceback
add_note
args
class NetworkQueryError(NetworkError):
10class NetworkQueryError(NetworkError):
11    """Network query related error."""

Network query related error.

Inherited Members
builtins.Exception
Exception
builtins.BaseException
with_traceback
add_note
args
class NetworkTimeoutError(NetworkError):
14class NetworkTimeoutError(NetworkError):
15    """Timeout error"""

Timeout error

Inherited Members
builtins.Exception
Exception
builtins.BaseException
with_traceback
add_note
args
class PasswordError(builtins.Exception):
18class PasswordError(Exception):
19    """Password related error."""

Password related error.

Inherited Members
builtins.Exception
Exception
builtins.BaseException
with_traceback
add_note
args
class PasswordNotProvidedError(PasswordError):
22class PasswordNotProvidedError(PasswordError):
23    """Password is not provided."""

Password is not provided.

Inherited Members
builtins.Exception
Exception
builtins.BaseException
with_traceback
add_note
args
class InvalidPasswordError(PasswordError):
26class InvalidPasswordError(PasswordError):
27    """Password is invalid."""

Password is invalid.

Inherited Members
builtins.Exception
Exception
builtins.BaseException
with_traceback
add_note
args
class KeyNotFoundError(builtins.Exception):
30class KeyNotFoundError(Exception):
31    """Key not found error."""

Key not found error.

Inherited Members
builtins.Exception
Exception
builtins.BaseException
with_traceback
add_note
args