Skip to content

Improve Error Messages for Failed Agent Operations #3

Description

@daiwikmh

Description

When swap operations fail, the SDK currently throws generic or unclear errors.
This makes debugging difficult for developers.

This issue improves error messages specifically for swap-related failures.


Tasks

  • Identify swap-related error paths
  • Replace generic errors with descriptive messages
  • Include context (asset, amount, network)
  • Ensure no breaking API changes

Acceptance Criteria

  • Errors clearly describe the failure cause
  • Error messages include relevant parameters
  • No change to public method signatures

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions