Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddResponseErrorMiddleware ¶
func AddResponseErrorMiddleware(stack *middleware.Stack)
AddResponseErrorMiddleware adds response error wrapper middleware
Types ¶
type ResponseError ¶
type ResponseError struct { *smithyhttp.ResponseError // RequestID associated with response error RequestID string }
ResponseError provides the HTTP centric error type wrapping the underlying error with the HTTP response value and the deserialized RequestID.
func (*ResponseError) As ¶
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.AWS HTTP ResponseError)
func (*ResponseError) Error ¶
func (e *ResponseError) Error() string
Error returns the formatted error
func (*ResponseError) ServiceRequestID ¶
func (e *ResponseError) ServiceRequestID() string
ServiceRequestID returns the request id associated with Response Error
Click to show internal directories.
Click to hide internal directories.