Skip to content

refactor(wangapayfast-rs): add structured error model for API and ITN #35

Description

@mitch1009

Summary

Expand error handling to provide clear category-specific failures for API and ITN flows.

Scope

  • Add typed error variants for network, auth/signature, validation, payfast business errors, decode errors
  • Preserve source chaining and context details
  • Improve display/debug output

Acceptance Criteria

  • Errors are category-specific and actionable
  • Existing call sites compile with updated model
  • Tests cover representative error mapping

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