SmartAccountErrorCode

public enum SmartAccountErrorCode : Int, Sendable, CaseIterable

Stable numeric identifier for every Smart Account error condition.

Error code ranges:

  • 1xxx: Configuration errors
  • 2xxx: Wallet state errors
  • 3xxx: Credential errors
  • 4xxx: WebAuthn errors
  • 5xxx: Transaction errors
  • 6xxx: Signer errors
  • 7xxx: Validation errors
  • 8xxx: Storage errors
  • 9xxx: Session errors
  • 10xxx: Indexer errors