Skip to content

Custom error types #30

Description

@emgrav

Zitadel has a system of custom error codes returned in a gRPC message. This is just mapped onto the REST API in a way where we'll need to inspect the message to get the actual error. Regrettably, it appears Zitadel does not have the list of possible error codes documented, but it can be found reasonably easily in the Zitadel source code.

We should implement custom error types that parses the error responses and maps them to a real type directly usable by library consumers, rather than just passing the message along.

TODO: Compile list of most important error types we handle in f.x. wfs-z and create a task list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions