rpcerrors

package
v0.0.125 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Err error
	// contains filtered or unexported fields
}

func Errorf

func Errorf(code codes.Code, format string, args ...interface{}) *Error

func Wrap

func Wrap(code codes.Code, err error) *Error

func WrapWithSkip

func WrapWithSkip(code codes.Code, err error, skip int) *Error

func (*Error) Error

func (e *Error) Error() string

func (*Error) GRPCStatus

func (e *Error) GRPCStatus() *status.Status

func (*Error) StackFrames

func (err *Error) StackFrames() []errors.StackFrame

func (*Error) Unwrap

func (e *Error) Unwrap() error

Directories

Path Synopsis
Package multierr provides a simple multiple-error type.
Package multierr provides a simple multiple-error type.

Jump to

Keyboard shortcuts

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