errors

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTransient

func IsTransient(err error) bool

IsTransient returns true if the given error is a 'transient' error.

func NewTransient

func NewTransient(err error) error

NewTransient returns a transient error that wraps the given error in order to indicate to the caller that a retry may resolve the problem, whereas a non-transient (persistent) error will always fail with the same outcome if retried.

Types

This section is empty.

Jump to

Keyboard shortcuts

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