grpcerrors

package module
v0.0.0-...-35c81c9 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: MIT Imports: 9 Imported by: 0

README

grpcerrors

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Code

func Code(code codes.Code) *errdetails.CodeDetail

func MapErrorInterceptor

func MapErrorInterceptor() grpc.UnaryServerInterceptor

MapErrorInterceptor returns a new unary server interceptors that performs request rate limiting.

func MapErrorToStatus

func MapErrorToStatus(originalError error) (*status.Status, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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