Sha256: f2469d3abd4df5558fed4b74e170824abd3b1d64c1f4c73ab8fb34c61335993c
Contents?: true
Size: 667 Bytes
Versions: 16
Compression:
Stored size: 667 Bytes
Contents
package aws import ( "fmt" ) // TODO remove replace with smithy.CanceledError // RequestCanceledError is the error that will be returned by an API request // that was canceled. Requests given a Context may return this error when // canceled. type RequestCanceledError struct { Err error } // CanceledError returns true to satisfy interfaces checking for canceled errors. func (*RequestCanceledError) CanceledError() bool { return true } // Unwrap returns the underlying error, if there was one. func (e *RequestCanceledError) Unwrap() error { return e.Err } func (e *RequestCanceledError) Error() string { return fmt.Sprintf("request canceled, %v", e.Err) }
Version data entries
16 entries across 16 versions & 1 rubygems