errutil

package
v0.12.6-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNotFound

func IsNotFound(err error) bool

IsNotFound returns true if the error is a not found error.

Types

type Args

type Args map[string]interface{}

Args is a map of key-value pairs to provide additional context of an error.

type NotFound

type NotFound interface {
	NotFound() bool
}

NotFound represents a not found error.

Jump to

Keyboard shortcuts

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