errors

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNotFound

func IsNotFound(err error) bool

func IsTemporary

func IsTemporary(err error) bool

Types

type NotFound

type NotFound interface {
	error
	IsNotFound() bool
}

NotFound represents a resource does not exist.

type Temporary

type Temporary interface {
	error
	IsTemporary() bool
}

Temporary represents an error that will be fixed by retrying.

Jump to

Keyboard shortcuts

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