apierrors

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrContentNotFound                = errors.New("content not found")
	ErrContentUnrecognisedParameter   = errors.New("content query not recognised")
	ErrEmptyRequestBody               = errors.New("request body empty")
	ErrInternalServer                 = errors.New("internal error")
	ErrInvalidReleaseDate             = errors.New("invalid topic release date, must have the following format: 2022-05-22T09:21:45Z")
	ErrNotFound                       = errors.New("not found")
	ErrTopicMissingFields             = errors.New("missing topic update mandatory fields")
	ErrTopicInvalidState              = errors.New("topic state is not a valid state name")
	ErrTopicNotFound                  = errors.New("topic not found")
	ErrTopicStateTransitionNotAllowed = errors.New("topic state transition not allowed")
	ErrTopicUploadEmpty               = errors.New("topic upload section is not populated")
	ErrUnableToParseJSON              = errors.New("failed to parse json body")
	ErrUnableToReadMessage            = errors.New("failed to read message body")
)

A list of error messages for Topic API

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