Priority: medium
Description
The system must handle attempts to mint, list, purchase, or retire amounts that exceed system limits (e.g., u64 max value, or business-defined maximums). Tests must verify that these edge cases return appropriate errors rather than panicking or overflowing.
Acceptance Criteria
- Minting u64::MAX credits is handled gracefully (returns an error or succeeds as designed)
- Purchasing more credits than listed returns InsufficientLiquidity
- Retiring more credits than owned returns InsufficientCredits
- Listing 0 credits returns ZeroAmountNotAllowed
- All edge case tests pass in the Rust test suite
Priority: medium
Description
The system must handle attempts to mint, list, purchase, or retire amounts that exceed system limits (e.g., u64 max value, or business-defined maximums). Tests must verify that these edge cases return appropriate errors rather than panicking or overflowing.
Acceptance Criteria