status

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package status provides statuses and errors returned by grpc handler functions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromError

func FromError(err error) *errors.Errors_RPC

func WrapWithAborted

func WrapWithAborted(msg string, err error, details ...interface{}) error

func WrapWithAlreadyExists

func WrapWithAlreadyExists(msg string, err error, details ...interface{}) error

func WrapWithCanceled

func WrapWithCanceled(msg string, err error, details ...interface{}) error

func WrapWithDataLoss

func WrapWithDataLoss(msg string, err error, details ...interface{}) error

func WrapWithDeadlineExceeded

func WrapWithDeadlineExceeded(msg string, err error, details ...interface{}) error

func WrapWithFailedPrecondition

func WrapWithFailedPrecondition(msg string, err error, details ...interface{}) error

func WrapWithInternal

func WrapWithInternal(msg string, err error, details ...interface{}) error

func WrapWithInvalidArgument

func WrapWithInvalidArgument(msg string, err error, details ...interface{}) error

func WrapWithNotFound

func WrapWithNotFound(msg string, err error, details ...interface{}) error

func WrapWithOutOfRange

func WrapWithOutOfRange(msg string, err error, details ...interface{}) error

func WrapWithPermissionDenied

func WrapWithPermissionDenied(msg string, err error, details ...interface{}) error

func WrapWithResourceExhausted

func WrapWithResourceExhausted(msg string, err error, details ...interface{}) error

func WrapWithUnauthenticated

func WrapWithUnauthenticated(msg string, err error, details ...interface{}) error

func WrapWithUnavailable

func WrapWithUnavailable(msg string, err error, details ...interface{}) error

func WrapWithUnimplemented

func WrapWithUnimplemented(msg string, err error, details ...interface{}) error

func WrapWithUnknown

func WrapWithUnknown(msg string, err error, details ...interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL