OZContractError

public struct OZContractError : Equatable, Hashable, Sendable

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.