Contract Error Codes
object ContractErrorCodes
Contract-level error codes from the OZ smart account contract.
A reference catalog for consumers. The SDK does not parse or map these codes — a failed transaction surfaces the raw Error(Contract, #NNNN) message inside the thrown exception, and the consumer extracts the code and matches it against these constants.
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.