Skip to content

Financial validation errors #559

@nafiuishaaq

Description

@nafiuishaaq

Description:
Errors for amount and fee validation.

Acceptance Criteria:

InvalidAmount = 400 — Amount is zero or negative.

InsufficientBalance = 401 — Buyer has insufficient funds.

FeeTooHigh = 402 — Fee exceeds maximum (1000 bps).

InvalidSplit = 403 — Dispute split does not sum to amount.

Overflow = 404 — Arithmetic overflow detected.

Labels: error-handling, financial

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions