Skip to content

Expose replay error classification and variant data in FFI #1275

@chavic

Description

@chavic

SenderPersistedError / SenderReplayError (and receiver equivalents) lose classification at the FFI boundary. Clients cannot distinguish storage failure vs API failure vs transient error.

Todo

  • Define a typed FFI enum for persistence/replay errors.
  • Preserve variant classification (storage, API, transient, fatal).
  • Add tests that assert classification and recommended handling.
  • Update docs/comments to describe recovery semantics

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions