apperrors

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidFilter         = errors.New("invalid filter type given")
	ErrFilterNotFound        = errors.New("filter type from client not available in data.go")
	ErrInternalServer        = errors.New("internal server error")
	ErrInvalidPage           = errors.New("invalid page value, exceeding the default maximum search results")
	ErrPageExceedsTotalPages = errors.New("invalid page value, exceeding the total page value")

	BadRequestMap = map[error]bool{
		ErrInvalidFilter:         true,
		ErrInvalidPage:           true,
		ErrFilterNotFound:        true,
		ErrPageExceedsTotalPages: true,
	}
)

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