grpc

package
v0.5.44 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SwaggerFS embed.FS

Functions

func WrapError

func WrapError(err error, format string, args ...interface{}) error

workaround for grpc not supporting error unwrapping. if err seems to be a grpc status error, returns a new error with the same code & details, but a wrapped description. Otherwise wraps err normally. upstream: https://github.com/grpc/grpc-go/issues/2934

Types

This section is empty.

Jump to

Keyboard shortcuts

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