Struct: aws.RequestCanceledError

import "../ibm-cos-sdk-go-v2/aws"

Overview

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.

Implemented Interfaces

types.AnalyticsFilter, v4.HTTPPresigner, s3.HTTPPresignerV4, types.MetricsFilter, s3.PresignPost, arn.S3ObjectLambdaARN, types.SelectObjectContentEventStream

Structure Field Summary collapse

Method Summary collapse

Structure Field Details

Err error

Method Details

func (e *RequestCanceledError) Error() string



22
23
24
// File 'aws/request.go', line 22

func (e *RequestCanceledError) Error() string { return fmt.Sprintf("request canceled, %v", e.Err) }

func (e *RequestCanceledError) Unwrap() error

Unwrap returns the underlying error, if there was one.



19
20
21
// File 'aws/request.go', line 19

func (e *RequestCanceledError) Unwrap() error { return e.Err }