Skip to content

Ledger account not found error on first-time getInvoice call #4

Description

@MarcusDavidG

When calling getInvoice for an invoice that doesn't exist, the SDK throws a raw account not found error from the RPC layer instead of a clean Invoice not found message.

Need to catch and normalise RPC errors into typed SDK errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmediumStandard feature or bug fix (150 pts)

    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