grpc / grpc/grpc-web

how to get grpc-web custom-error

Open
#1,014 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.3k
Forks
802
Avg merge
1d 7h
Merged PRs (30d)
5

Description

example:
golang:
import (""google.golang.org/grpc/status"")
if err != nil {
s := status.Convert(err)
for _, d := range s.Details() {......}

But I found error has only code and message, missing details, so grpc-web how to get error.details ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.