# Functions

Clone deep clone error to a new error.
Code returns the http code for an error.
Errorf returns an error object for the code, message and error info.
FromError try to convert an error to *Error.
FromGRPCCode converts a gRPC error code into the corresponding HTTP response status.
New returns an error object for the code, message.
Newf New(code fmt.Sprintf(format, a...)).
Reason returns the reason for a particular error.
ToGRPCCode converts an HTTP error code into the corresponding gRPC response status.

# Constants

ClientClosed is non-standard http status code, which defined by nginx.
SupportPackageIsVersion1 this constant should not be referenced by any other code.
UnknownCode is unknown code for error info.
UnknownReason is unknown reason for error info.

# Variables

DefaultConverter default converter.
optional int32 default_http_code = 10500;.
optional int32 http_code = 10500;.
No description provided by the author

# Structs

Error is a status error.
No description provided by the author

# Interfaces

Converter is a status converter.