s3err

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequestFailureWrapperHandler

func RequestFailureWrapperHandler() aws.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 decorated 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) Unwrap added in v0.20.0

func (r RequestFailure) Unwrap() error

Unwrap returns the underling error if there was one.

Jump to

Keyboard shortcuts

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