Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for grpc error details and multiple errors #7

Merged
merged 2 commits into from
Aug 16, 2024

Commits on Jul 10, 2024

  1. Update Resolve function to support Is interface

    The Is interface may be used to resolve if no other unwrap interface is
    implemented. This interface is safe to use in this situation, unlike
    errors.Is, since the error should not be unwrapped further.
    
    Signed-off-by: Derek McGowan <derek@mcg.dev>
    dmcgowan committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    ffb0349 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. Add support for grpc error details

    When multiple errors are given, use details to encode errors into the
    grpc status and decode details back into errors.
    
    Signed-off-by: Derek McGowan <derek@mcg.dev>
    dmcgowan committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    b9dce4d View commit details
    Browse the repository at this point in the history