Categorygithub.com/hashicorp/go-secure-stdlib/temperror
modulepackage
0.1.1
Repository: https://github.com/hashicorp/go-secure-stdlib.git
Documentation: pkg.go.dev

# Functions

IsTempError returns whether it is a temporary error to avoid having to use it as it is in the gRPC source code, e.g.: if ne, ok := err.(interface{ Temporary() bool }); !ok || !ne.Temporary() { This function does that for you :-).
New creates a "temporary" error wrapping the given error.