Skip to content

Status of support for Grpc-Status-Details-Bin #1342

@stevvooe

Description

@stevvooe

I am trying to understand the current status of support for sending error details via the server. We have an API that requires mapping specific error codes back to error values on either end. There seem to be two options:

  1. Define new, non-standard error codes to map to the conditions.
  2. Annotate the errors using Status.Details with project specific detail records.

The option number 2 seems to be very solid but there isn't any support in the server. The areas where support would be have TODOs.

Right now, the current solution is to do some ever-so-light string matching.

What is the current status of error status details? Is all that is required for support is to serialize this structure when the header is encountered or is there more to it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions