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") ErrInternalError = errors.New("internal server error") ErrNoIfMatchHeader = errors.New("required If-Match header not provided") )
Functions ¶
func GetErrorStatusCode ¶
func NewBadRequestErr ¶
func NewForbiddenErr ¶
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
Click to show internal directories.
Click to hide internal directories.