Documentation ¶
Overview ¶
Package status provides statuses and errors returned by grpc handler functions
Index ¶
- func Error(code codes.Code, msg string) error
- func Errorf(code codes.Code, format string, args ...any) error
- func Log(code codes.Code, err error)
- func WrapWithAborted(msg string, err error, details ...any) error
- func WrapWithAlreadyExists(msg string, err error, details ...any) error
- func WrapWithCanceled(msg string, err error, details ...any) error
- func WrapWithDataLoss(msg string, err error, details ...any) error
- func WrapWithDeadlineExceeded(msg string, err error, details ...any) error
- func WrapWithFailedPrecondition(msg string, err error, details ...any) error
- func WrapWithInternal(msg string, err error, details ...any) error
- func WrapWithInvalidArgument(msg string, err error, details ...any) error
- func WrapWithNotFound(msg string, err error, details ...any) error
- func WrapWithOutOfRange(msg string, err error, details ...any) error
- func WrapWithPermissionDenied(msg string, err error, details ...any) error
- func WrapWithResourceExhausted(msg string, err error, details ...any) error
- func WrapWithUnauthenticated(msg string, err error, details ...any) error
- func WrapWithUnavailable(msg string, err error, details ...any) error
- func WrapWithUnimplemented(msg string, err error, details ...any) error
- func WrapWithUnknown(msg string, err error, details ...any) error
- type Code
- type Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WrapWithAlreadyExists ¶
func WrapWithInvalidArgument ¶
func WrapWithUnauthenticated ¶
func WrapWithUnimplemented ¶
Types ¶
type Status ¶ added in v1.1.0
func CreateWithNotFound ¶ added in v1.7.7
Click to show internal directories.
Click to hide internal directories.