s3err

package
v1.38.26-0...-e443fa6 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

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