Skip to content

Expose structured access to JsonReply error code and supported_versions in FFI #1271

Description

@chavic

JsonReply / WellKnownError are currently exposed as JSON strings only. Integrators must parse strings to discover the code and supported_versions.

Todo:

  • Expose WellKnownError as a typed FFI record (code + supported_versions).
  • Expose JsonReply with typed accessors rather than string parsing.
  • Add binding tests for code matching (Unavailable, VersionUnsupported, etc.).
  • Ensure error serialization still round‑trips across languages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    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