_exception

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2018 License: Apache-2.0 Imports: 2 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

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 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 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