Skip to content

Map PHP SDK errors to typed exception classes #3294

@countradooku

Description

@countradooku

The PHP SDK currently converts all Rust/Iggy errors into a base PHP Exception through PhpException::default(error.to_string()). That forces retry and circuit-breaker code to inspect message strings.\n\nFollow-up: expose a small Iggy\Exception hierarchy and map at least top-level error categories such as connection, authentication, not found, and transient/server errors to typed PHP exceptions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersphpPull requests that update php code

    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