errors

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Aborted

func Aborted(err error) error

func AbortedF

func AbortedF(msg string, args ...interface{}) error

func AlreadyExists

func AlreadyExists(err error) error

func AlreadyExistsD

func AlreadyExistsD(err error, details ...proto.Message) error

func AlreadyExistsF

func AlreadyExistsF(msg string, args ...interface{}) error

func DataLoss

func DataLoss(err error) error

func DataLossD

func DataLossD(err error, details ...proto.Message) error

func DataLossF

func DataLossF(msg string, args ...interface{}) error

func DeadlineExceeded

func DeadlineExceeded(err error) error

func DeadlineExceededD

func DeadlineExceededD(err error, details ...proto.Message) error

func DeadlineExceededF

func DeadlineExceededF(msg string, args ...interface{}) error

func FailedPrecondition

func FailedPrecondition(err error) error

func FailedPreconditionD

func FailedPreconditionD(err error, details ...proto.Message) error

func FailedPreconditionF

func FailedPreconditionF(msg string, args ...interface{}) error

func Internal

func Internal(err error) error

func InternalD

func InternalD(err error, details ...proto.Message) error

func InternalF

func InternalF(msg string, args ...interface{}) error

func InvalidArgument

func InvalidArgument(err error) error

func InvalidArgumentD

func InvalidArgumentD(err error, details ...proto.Message) error

func InvalidArgumentF

func InvalidArgumentF(msg string, args ...interface{}) error

func NotFound

func NotFound(err error) error

func NotFoundD

func NotFoundD(err error, details ...proto.Message) error

func NotFoundF

func NotFoundF(msg string, args ...interface{}) error

func OutOfRange

func OutOfRange(err error) error

func OutOfRangeD

func OutOfRangeD(err error, details ...proto.Message) error

func OutOfRangeF

func OutOfRangeF(msg string, args ...interface{}) error

func PermissionDenied

func PermissionDenied(err error) error

func PermissionDeniedD

func PermissionDeniedD(err error, details ...proto.Message) error

func PermissionDeniedF

func PermissionDeniedF(msg string, args ...interface{}) error

func ResourceExhausted

func ResourceExhausted(err error) error

func ResourceExhaustedD

func ResourceExhaustedD(err error, details ...proto.Message) error

func ResourceExhaustedF

func ResourceExhaustedF(msg string, args ...interface{}) error

func Unauthenticated

func Unauthenticated(err error) error

func UnauthenticatedD

func UnauthenticatedD(err error, details ...proto.Message) error

func UnauthenticatedF

func UnauthenticatedF(msg string, args ...interface{}) error

func Unavailable

func Unavailable(err error) error

func UnavailableD

func UnavailableD(err error, details ...proto.Message) error

func UnavailableF

func UnavailableF(msg string, args ...interface{}) error

func Unimplemented

func Unimplemented(err error) error

func UnimplementedD

func UnimplementedD(err error, details ...proto.Message) error

func UnimplementedF

func UnimplementedF(msg string, args ...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