Struct: retry.IsErrorThrottles

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

Overview

IsErrorThrottle returns if the error is a throttle error if any of the checks in the list return a value other than unknown.

Implemented Interfaces

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

Method Summary collapse

Method Details

func (r IsErrorThrottles) IsErrorThrottle(err error) aws.Ternary



21
22
23
24
25
26
27
28
// File 'aws/retry/throttle_error.go', line 21

func (r IsErrorThrottles) IsErrorThrottle(err error) aws.Ternary { for _, re := range r { if v := re.IsErrorThrottle(err); v != aws.UnknownTernary { return v } } return aws.UnknownTernary }