Exceptions
Exceptions¶
NotConnectedError¶
ApiException¶
EthereumJSONRPCException¶
Bases: ApiException
Raised when an Ethereum JSON-RPC error payload is returned.
Source code in derive_client/exceptions.py
22 23 24 25 | |
DeriveJSONRPCException¶
Bases: ApiException
Raised when a Derive JSON-RPC error payload is returned.
Source code in derive_client/exceptions.py
35 36 37 38 | |
BridgeEventParseError¶
BridgeRouteError¶
NoAvailableRPC¶
Bases: Exception
Raised when all configured RPC endpoints are temporarily unavailable due to backoff or failures.
InsufficientNativeBalance¶
Bases: Exception
Raised when the native currency balance is insufficient for gas and/or value transfer.
Source code in derive_client/exceptions.py
60 61 62 63 64 65 66 67 68 69 70 71 72 73 | |
InsufficientTokenBalance¶
BridgePrimarySignerRequiredError¶
TxReceiptMissing¶
FinalityTimeout¶
Bases: Exception
Raised when the transaction was mined but did not reach the required finality within the timeout.
TxPendingTimeout¶
Bases: Exception
Raised when the transaction receipt does not materialize and the transaction remains in the mempool.
TransactionDropped¶
Bases: Exception
Raised when the transaction the transaction is no longer in the mempool, likely dropped.
BridgeEventTimeout¶
PartialBridgeResult¶
Bases: Exception
Raised after submission when the bridge pipeline fails
Source code in derive_client/exceptions.py
107 108 109 | |