Skip to content

Financial validation errors #788

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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