Struct: s3shared.ResponseError
Overview
ResponseError provides the HTTP centric error type wrapping the underlying error with the HTTP response value and the deserialized RequestID.
Implemented Interfaces
types.AnalyticsFilter, v4.HTTPPresigner, s3.HTTPPresignerV4, types.MetricsFilter, s3.PresignPost, arn.S3ObjectLambdaARN, types.SelectObjectContentEventStream
Structure Field Summary collapse
-
HostID string
HostID associated with response error.
Method Summary collapse
-
func (e *ResponseError) As(target interface{}) bool
As populates target and returns true if the type of target is a error type that the ResponseError embeds, (e.g.S3 HTTP ResponseError).
-
func (e *ResponseError) ServiceHostID() string { return e.HostID }
ServiceHostID returns the host id associated with Response Error.
Structure Field Details
HostID string
HostID associated with response error
Method Details
func (e *ResponseError) As(target interface{}) bool
As populates target and returns true if the type of target is a error type that the ResponseError embeds, (e.g.S3 HTTP ResponseError)
30 31 32 |
// File 'service/internal/s3shared/response_error.go', line 30
|
func (e *ResponseError) ServiceHostID() string { return e.HostID }
ServiceHostID returns the host id associated with Response Error
19 20 21 22 23 24 25 26 |
// File 'service/internal/s3shared/response_error.go', line 19
|