awserror

package
v0.0.0-...-ec50bc7 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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 InvalidArgument(f string, a ...interface{}) *Error

func InvalidPart

func InvalidPart() *Error

func NoSuchBucket

func NoSuchBucket() *Error

func NoSuchKey

func NoSuchKey() *Error

func NoSuchUpload

func NoSuchUpload() *Error

func (*Error) Error

func (e *Error) Error() string

Error enables us to use our error's as a go error

func (*Error) Send

func (e *Error) Send(r *rest.Rest) *rest.Rest

Jump to

Keyboard shortcuts

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