Involved Source Files
Package status implements errors returned by gRPC. These errors are
serialized and transmitted on the wire between server and client, and allow
for additional data to be transmitted via the Details field in the status
proto. gRPC service handlers should return an error created by this
package, and gRPC clients should expect a corresponding error to be
returned from the RPC call.
This package upholds the invariants that a non-nil error may not
contain an OK code, and an OK code must result in a nil error.
Package-Level Type Names (total 2, both are exported)
/* sort exporteds by: | */
Error wraps a pointer of a status proto. It implements error and Status,
and a nil *Error should never be returned by this package.
s*Status(*Error) Error() string
GRPCStatus returns the Status represented by se.
Is implements future error.Is functionality.
A Error is equivalent if the code and message are identical.
*Error : error