Skip to content

[Docs] Document all error codes in the payment contract #421

Description

@fati-Onchain

The payment contract defines numeric error codes (in contracts/payment/src/lib.rs) that are not documented anywhere. Add a table listing each error code, its symbolic name, and what condition triggers it.

Acceptance criteria

  • Error table added to contracts/payment/README.md (or a new contracts/payment/ERRORS.md)
  • Every error variant in the contract's error enum is covered

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions