Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrorNotFound indicates that the requested storage key does not exist. ErrorNotFound = statuserr.NotFoundError(errors.New("key not found")) // ErrorDistExisted indicates that the destination key already exists when overwrite is disabled. ErrorDistExisted = statuserr.BadRequestError(errors.New("destination key existed")) // ErrorFileNameInvalid indicates that the provided file name or path is invalid or unsafe. ErrorFileNameInvalid = statuserr.BadRequestError(errors.New("file name invalid")) )
Common storage operation errors with appropriate HTTP status codes.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.