Version: v0.12.0 Latest Latest

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

Go to latest
Published: Apr 12, 2020 License: Apache-2.0 Imports: 2 Imported by: 0




This section is empty.


View Source
var BackendDeleteError = S3Error{Code: 500, Description: "The backend can not be deleted. please delete bucket first"}
View Source
var BadRequest = S3Error{Code: 400, Description: "request is invalid"}
View Source
var BucketAlreadyExists = S3Error{Code: 409, Description: "The requested bucket name already exist. Bucket namespace is shared by all users in the system. Select a different name and retry."}
View Source
var BucketDeleteError = S3Error{Code: 500, Description: "The bucket can not be deleted. please delete object first"}
View Source
var DBError = S3Error{Code: 500, Description: "DB occured exception."}
View Source
var ERR_OK = 200
View Source
var InternalError = S3Error{Code: 500, Description: "Internal error. Please retry"}
View Source
var InvalidContentLength = S3Error{Code: 400, Description: "invalid content length"}
View Source
var InvalidQueryParameter = S3Error{Code: 400, Description: "invalid query parameter"}
View Source
var InvalidStorageClass = S3Error{Code: 400, Description: "the storage class you specified is not valid"}
View Source
var NoError = S3Error{Code: ERR_OK}
View Source
var NoSuchBackend = S3Error{Code: 404, Description: "The specified backend does not exists."}
View Source
var NoSuchBucket = S3Error{Code: 404, Description: "The specified bucket does not exist."}
View Source
var NoSuchObject = S3Error{Code: 404, Description: "The specified object does not exist."}
View Source
var NoSuchType = S3Error{Code: 404, Description: "The specified backend type does not exists."}


This section is empty.


type S3Error

type S3Error struct {
	Code        int
	Description string

func (*S3Error) Error

func (err *S3Error) Error() error

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL