package
1.3.6
Repository: https://github.com/undertreetech/waterdrop.git
Documentation: pkg.go.dev

# README

Status is used to unified errors between services, no matter is http/rpc.

The code is 60% copied from the official gRPC status package.

# Functions

EqualError check an err is a status error.
ExtractContextStatus converts a context error into a Status.
ExtractStatus extract status from grpc call reply err.
FromProto returns a Status representing s.
New returns a Status instance.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
predefined global status, it can be override.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Status represents an RPC status code, message, and details.