Skip to content

Backend: Ensure consistent error payloads with requestId across routes #105

@mimijuwonlo-commits

Description

@mimijuwonlo-commits

Why

Some error responses (e.g., in distribute path) omit
equestId. All errors should match RequestIdError.

Scope

  • Audit routes to ensure { error, message, requestId, details? } for 4xx/5xx.
  • Adjust global error handler to avoid masking known error types.

Acceptance

  • Contract tests confirm
    equestId included on all error responses.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programapiPublic API surfacebackendExpress API (Node/TS) workbugSomething isn't workingqualityCode quality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions