_exception

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2019 License: Apache-2.0 Imports: 2 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

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 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."}

Functions

This section is empty.

Types

type S3Error

type S3Error struct {
	Code        int
	Description string
}

func (*S3Error) Error

func (err *S3Error) Error() error

Jump to

Keyboard shortcuts

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