Skip to content

Backend: Standardize API Error Contract for Soroban Failures #718

@Cedarich

Description

@Cedarich

Complexity: 150 points

Goal Ensure all endpoints return a consistent error shape even when underlying Soroban calls fail.

Acceptance Criteria

  • Error responses follow { code, message, details, requestId }.
  • Soroban error codes are mapped into stable backend codes.
  • Adds tests for at least 3 common failure types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BackendrefactorCode refactoringtestnetTargets Stellar testnet deployment/integration

    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