Skip to content

Map All Value Error Codes to Names, Descriptions, and Severity Levels #199

@Emrys02

Description

@Emrys02

Implement the complete mapping of all Value category error subcodes. Value errors fire when the host encounters invalid or unexpected values, type mismatches, malformed ScVal conversions, or out-of-range integers passed to host functions.

Implementation Guidelines

  • Create crates/core/src/decode/mappings/value.rs
  • Same structure: ValueErrorDetail with code, name, summary, severity
  • Map all known subcodes from soroban-env-host (InvalidInput, UnexpectedType, InternalError)

Expectations

  • What done looks like: Every Value subcode maps to a description that helps developers trace back to which function argument or conversion was invalid.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

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