OZContractError

data class OZContractError(val code: Int, val contract: String, val name: String)

A decoded OpenZeppelin smart-account contract error: its numeric code, the contract error enum it belongs to (contract), and the name of the variant, exactly as declared by the deployed contracts. Variant names repeat across the policy enums (for example NotAllowed), so contract is required to disambiguate; code is globally unique.

Constructors

Link copied to clipboard
constructor(code: Int, contract: String, name: String)

Properties

Link copied to clipboard
val code: Int
Link copied to clipboard
Link copied to clipboard