Skip to content

Implement comprehensive SDK error hierarchy with error codes #176

@p3ris0n

Description

@p3ris0n

Summary

Replace generic Error throws with a structured error hierarchy that provides error codes, human-readable messages, recovery suggestions.

Requirements

  • Create sdk/src/errors.ts
  • Base class: BcForgeError
  • Specific subclasses: NetworkError, SimulationError, TransactionError, ContractError, ValidationError
  • Parse Soroban panic messages
  • Add isRetryable field

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programenhancementNew feature or requesthigh-complexityHigh complexity - significant effort requiredsdkTypeScript SDK improvements

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