filters

package
v0.0.0-...-87f5b26 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrVersionNotFound          = errors.New("version not found")
	ErrInvalidQueryParameter    = errors.New("invalid query parameter")
	ErrFilterBlueprintNotFound  = errors.New("filter blueprint not found")
	ErrFilterBlueprintConflict  = errors.New("conflict while updating filter blueprint")
	ErrDimensionNotFound        = errors.New("dimension not found")
	ErrDimensionsNotFound       = errors.New("dimensions not found")
	ErrDimensionOptionNotFound  = errors.New("option not found")
	ErrDimensionOptionsNotFound = errors.New("dimension options not found")
	ErrFilterOutputNotFound     = errors.New("filter output not found")
	ErrFilterOutputConflict     = errors.New("conflict while updating filter output")
	ErrBadRequest               = errors.New("invalid request body")
	ErrForbidden                = errors.New("forbidden")
	ErrUnauthorised             = errors.New("unauthorised")
	ErrInternalError            = errors.New("internal server error")
	ErrNoIfMatchHeader          = errors.New("required If-Match header not provided")
)

Functions

func GetErrorStatusCode

func GetErrorStatusCode(err error) int

func NewBadRequestErr

func NewBadRequestErr(text string) error

func NewForbiddenErr

func NewForbiddenErr(text string) error

Types

type BadRequestErr

type BadRequestErr struct {
	// contains filtered or unexported fields
}

errorString is a trivial implementation of error.

func (BadRequestErr) Error

func (e BadRequestErr) Error() string

type ForbiddenErr

type ForbiddenErr struct {
	// contains filtered or unexported fields
}

errorString is a trivial implementation of error.

func (ForbiddenErr) Error

func (e ForbiddenErr) Error() string

Jump to

Keyboard shortcuts

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