errdefs

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: Apache-2.0 Imports: 1 Imported by: 4

Documentation

Overview

Package errdefs defines the common errors used throughout service.

Use with errors.Wrap and error.Wrapf to add context to an error.

To detect an error class, use the errors.Is functions to tell whether an error is of a certain type.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrIllegalParameter = errors.New("ERR_ILLEGAL_PARAMETER")
	ErrUnauthorized     = errors.New("ERR_UNAUTHORIZED")
	ErrConvertFailed    = errors.New("ERR_CONVERT_FAILED")
	ErrAlreadyConverted = errors.New("ERR_ALREADY_CONVERTED")
	ErrUnhealthy        = errors.New("ERR_UNHEALTHY")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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