Errors¶
- exception arbitrum_py.data_entities.errors.ArbSdkError(message, inner=None)[source]¶
Bases:
ExceptionBase class for errors originating in the Arbitrum SDK.
This class serves as the root exception type for all Arbitrum SDK-specific errors. It provides support for wrapping other exceptions to maintain the error chain and context, similar to the TypeScript implementation.
- Variables:
message (str) – The error message
inner (Optional[Exception]) – The underlying exception that caused this error
stack (str) – A string containing this error’s message and optionally the inner exception’s stack trace
- exception arbitrum_py.data_entities.errors.MissingProviderArbSdkError(signer_name)[source]¶
Bases:
ArbSdkErrorError raised when a signer lacks a required provider connection.
This error is thrown when attempting to use a signer that doesn’t have a connected provider, but the operation requires one. This typically happens when trying to execute transactions or make contract calls.
- Variables:
signer_name (str) – The name/identifier of the signer missing a provider