Documentation ¶
Overview ¶
Package status provides statuses and errors returned by grpc handler functions
Index ¶
- Variables
- func Error(code codes.Code, msg string) error
- func Errorf(code codes.Code, format string, args ...interface{}) error
- func FromError(err error) (st *status.Status, ok bool)
- func New(c codes.Code, msg string) *status.Status
- func WrapWithAborted(msg string, err error, details ...interface{}) error
- func WrapWithAlreadyExists(msg string, err error, details ...interface{}) error
- func WrapWithCanceled(msg string, err error, details ...interface{}) error
- func WrapWithDataLoss(msg string, err error, details ...interface{}) error
- func WrapWithDeadlineExceeded(msg string, err error, details ...interface{}) error
- func WrapWithFailedPrecondition(msg string, err error, details ...interface{}) error
- func WrapWithInternal(msg string, err error, details ...interface{}) error
- func WrapWithInvalidArgument(msg string, err error, details ...interface{}) error
- func WrapWithNotFound(msg string, err error, details ...interface{}) error
- func WrapWithOutOfRange(msg string, err error, details ...interface{}) error
- func WrapWithPermissionDenied(msg string, err error, details ...interface{}) error
- func WrapWithResourceExhausted(msg string, err error, details ...interface{}) error
- func WrapWithUnauthenticated(msg string, err error, details ...interface{}) error
- func WrapWithUnavailable(msg string, err error, details ...interface{}) error
- func WrapWithUnimplemented(msg string, err error, details ...interface{}) error
- func WrapWithUnknown(msg string, err error, details ...interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Code = status.Code
Functions ¶
func WrapWithAborted ¶
func WrapWithAlreadyExists ¶
func WrapWithCanceled ¶
func WrapWithDataLoss ¶
func WrapWithInternal ¶
func WrapWithInvalidArgument ¶
func WrapWithNotFound ¶
func WrapWithOutOfRange ¶
func WrapWithUnauthenticated ¶
func WrapWithUnavailable ¶
func WrapWithUnimplemented ¶
func WrapWithUnknown ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.