apierrors

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrImageNotFound                    = errors.New("image not found")
	ErrVariantNotFound                  = errors.New("image download variant not found")
	ErrVariantAlreadyExists             = errors.New("image download variant already exists")
	ErrInternalServer                   = errors.New("internal error")
	ErrUnableToReadMessage              = errors.New("failed to read message body")
	ErrImageIDMismatch                  = errors.New("image id provided in body does not match 'id' path parameter")
	ErrUnableToParseJSON                = errors.New("failed to parse json body")
	ErrImageFilenameTooLong             = errors.New("image filename is too long")
	ErrImageNoCollectionID              = errors.New("image does not have a collectionID")
	ErrImageAlreadyPublished            = errors.New("image is already published")
	ErrImageAlreadyCompleted            = errors.New("image is already completed")
	ErrImageInvalidState                = errors.New("image state is not a valid state name")
	ErrImageBadInitialState             = errors.New("image state is not a valid initial state")
	ErrImageStateTransitionNotAllowed   = errors.New("image state transition not allowed")
	ErrImageUploadEmpty                 = errors.New("image upload section is not populated")
	ErrImageUploadPathEmpty             = errors.New("image upload path is not populated")
	ErrImageNotImporting                = errors.New("image is not in importing state")
	ErrImageNotPublished                = errors.New("image is not in published state")
	ErrVariantIDMismatch                = errors.New("variant id provided in body does not match 'variant' path parameter")
	ErrVariantStateTransitionNotAllowed = errors.New("image download variant state transition not allowed")
	ErrImageDownloadTypeMismatch        = errors.New("image download variant type does not match existing type")
	ErrImageDownloadInvalidState        = errors.New("image download state is not a valid state name")
	ErrImageDownloadBadInitialState     = errors.New("image download state is not a valid initial state")
)

A list of error messages for Image 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