Contract Error Codes
object ContractErrorCodes
Contract-level error codes from the OZ smart account contract.
These codes are returned in contract error responses and can be mapped to exceptions by the SDK when interpreting failed transaction results.
Error code range: 3xxx (credential errors, aligned with the contract's Error enum).
Properties
Link copied to clipboard
The number of context rule IDs in the auth payload does not match the expected count.
Link copied to clipboard
The key_data field on a signer exceeds the maximum allowed size.
Link copied to clipboard
Integer arithmetic overflow occurred in the contract.
Link copied to clipboard
A name field (e.g. context rule name) exceeds the maximum allowed length.
Link copied to clipboard
The signer is not authorized to sign the given context rule.