customerror

package
v1.68.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Refer: https://pkg.go.dev/google.golang.org/grpc/codes?utm_source=godoc for all the GRPC status codes.

Functions

func GRPCErrStatusToHTTPStatusCode added in v1.39.0

func GRPCErrStatusToHTTPStatusCode(s *status.Status, err error) int

func UpdateError

func UpdateError(err *framework.Error, modifiers ...ErrorModifier) *framework.Error

Types

type ErrorModifier

type ErrorModifier func(*framework.Error)

func WithRequestTimeoutMessage

func WithRequestTimeoutMessage(reqErr error, timeout int) ErrorModifier

Jump to

Keyboard shortcuts

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