Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequestFailureWrapperHandler

func RequestFailureWrapperHandler() request.NamedHandler

RequestFailureWrapperHandler returns a handler to rap an awserr.RequestFailure with the S3 request ID 2 from the response.

Types

type RequestFailure

type RequestFailure struct {
	awserr.RequestFailure
	// contains filtered or unexported fields
}

RequestFailure provides additional S3 specific metadata for the request failure.

func NewRequestFailure

func NewRequestFailure(err awserr.RequestFailure, hostID string) *RequestFailure

NewRequestFailure returns a request failure error decordated with S3 specific metadata.

func (RequestFailure) Error

func (r RequestFailure) Error() string

func (RequestFailure) HostID

func (r RequestFailure) HostID() string

HostID returns the HostID request response value.

func (RequestFailure) String

func (r RequestFailure) String() string

Source Files