Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrImageNotFound = errors.New("image not found") ErrInternalServer = errors.New("internal error") ErrResourceState = errors.New("incorrect resource state") ErrUnableToReadMessage = errors.New("failed to read message body") ErrColIDMismatch = errors.New("'Collection-Id' header does not match 'collection_id' query parameter") ErrWrongColID = errors.New("'Collection-Id' header does not match new or existing image's 'collection_id'") 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") ErrImageInvalidState = errors.New("image state is not a valid state name") ErrImageStateTransitionNotAllowed = errors.New("image state transition not allowed") ErrImagePublishWrongEndpoint = errors.New("wrong endpoint to publish images. Please use 'POST /images/{id}/publish' instead") )
A list of error messages for Image API
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.