# Functions
No description provided by the author
ErrBadRequest new BadRequest error that is mapped to a 400 response.
ErrBadRequestf new BadRequest error that is mapped to a 400 response.
ErrClientClosed new ClientClosed error that is mapped to a HTTP 499 response.
ErrClientClosedf new ClientClosed error that is mapped to a HTTP 499 response.
ErrConflict new Conflict error that is mapped to a 409 response.
ErrConflictf new Conflict error that is mapped to a 409 response.
ErrForbidden new Forbidden error that is mapped to a 403 response.
ErrForbiddenf new Forbidden error that is mapped to a 403 response.
ErrGatewayTimeout new GatewayTimeout error that is mapped to a HTTP 504 response.
ErrGatewayTimeoutf new GatewayTimeout error that is mapped to a HTTP 504 response.
No description provided by the author
No description provided by the author
ErrNotFound new NotFound error that is mapped to a 404 response.
ErrNotFoundf new NotFound error that is mapped to a 404 response.
No description provided by the author
ErrServiceUnavailable new ServiceUnavailable error that is mapped to a HTTP 503 response.
ErrServiceUnavailablef new ServiceUnavailable error that is mapped to a HTTP 503 response.
ErrUnauthorized new Unauthorized error that is mapped to a 401 response.
ErrUnauthorizedf new Unauthorized error that is mapped to a 401 response.
No description provided by the author
IsBadRequest determines if err is an error which indicates a BadRequest error.
IsClientClosed determines if err is an error which indicates a IsClientClosed error.
IsConflict determines if err is an error which indicates a Conflict error.
IsForbidden determines if err is an error which indicates a Forbidden error.
IsGatewayTimeout determines if err is an error which indicates a GatewayTimeout error.
No description provided by the author
IsNotFound determines if err is an error which indicates an NotFound error.
IsServiceUnavailable determines if err is an error which indicates a Unavailable error.
IsUnauthorized determines if err is an error which indicates a Unauthorized error.
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
GoGoProtoPackageIsVersion3 this constant should not be referenced by any other code.
# Variables
optional int32 code = 1001;.
optional int32 default_code = 1000;.
optional string msg = 1002;.
No description provided by the author