Documentation ¶
Index ¶
- func RestErrorWrapper(h rest.RestHandler) rest.RestHandler
- type Error
- func AccessDenied() *Error
- func AllAccessDisabled() *Error
- func BucketAlreadyExists() *Error
- func CredentialsNotSupported() *Error
- func InternalError() *Error
- func InvalidAccessKeyId() *Error
- func InvalidArgument(f string, a ...interface{}) *Error
- func InvalidPart() *Error
- func NoSuchBucket() *Error
- func NoSuchKey() *Error
- func NoSuchUpload() *Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RestErrorWrapper ¶
func RestErrorWrapper(h rest.RestHandler) rest.RestHandler
Types ¶
type Error ¶
type Error struct { XMLName xml.Name `xml:"Error"` Status int `xml:"-"` Code string `xml:"Code"` Message string `xml:"Message"` Resource string `xml:"Resource"` RequestId string `xml:"RequestId"` }
func AccessDenied ¶
func AccessDenied() *Error
func AllAccessDisabled ¶
func AllAccessDisabled() *Error
func BucketAlreadyExists ¶
func BucketAlreadyExists() *Error
func CredentialsNotSupported ¶
func CredentialsNotSupported() *Error
func InternalError ¶
func InternalError() *Error
func InvalidAccessKeyId ¶
func InvalidAccessKeyId() *Error
func InvalidArgument ¶
func InvalidPart ¶
func InvalidPart() *Error
func NoSuchBucket ¶
func NoSuchBucket() *Error
func NoSuchUpload ¶
func NoSuchUpload() *Error
Click to show internal directories.
Click to hide internal directories.