errors

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BadRequestError = &microerror.Error{
	Kind: "BadRequestError",
}
View Source
var InvalidConfigError = &microerror.Error{
	Kind: "InvalidConfigError",
}
View Source
var NotFoundError = &microerror.Error{
	Kind: "NotFoundError",
}

Functions

func IsBadRequest

func IsBadRequest(err error) bool

IsBadRequest asserts badRequestError.

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func IsNotFound

func IsNotFound(err error) bool

IsNotFound asserts notFoundError

Types

This section is empty.

Jump to

Keyboard shortcuts

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