grpc_error

package
v0.65.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromStatusError

func FromStatusError(err error) error

func GrpcDeferErrorHandling

func GrpcDeferErrorHandling(err error) error

func ParseErrorResult

func ParseErrorResult[T any](result T, err error) (T, error)

func ToStatusError

func ToStatusError(err error) error

Types

type InternalPluginStatusError

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

func (*InternalPluginStatusError) Error

func (e *InternalPluginStatusError) Error() string

func (*InternalPluginStatusError) StatusCode

func (e *InternalPluginStatusError) StatusCode() codes.Code

Jump to

Keyboard shortcuts

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