//
pkg.gl
Category
github.com/skit-ai/go-grpc-prometheus
packages
grpcstatus
package
1.1.1
Repository:
https://github.com/skit-ai/go-grpc-prometheus.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
1
Files
60 SLOC
#
Functions
FromError
Since error can be wrapped and the `FromError` function only checks for `GRPCStatus` function and as a fallback uses the `Unknown` gRPC status we need to unwrap the error if possible to get the original status.