errors

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPCError

type GRPCError struct {
	// contains filtered or unexported fields
}

func New

func New(code codes.Code, inner error) *GRPCError

func (*GRPCError) As

func (e *GRPCError) As(target any) bool

func (*GRPCError) Error

func (e *GRPCError) Error() string

func (*GRPCError) GRPCStatus

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

func (*GRPCError) Is

func (e *GRPCError) Is(target error) bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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