Struct: aws.EndpointNotFoundError

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

Overview

EndpointNotFoundError is a sentinel error to indicate that the EndpointResolver implementation was unable to resolve an endpoint for the given service and region. Resolvers should use this to indicate that an API client should fallback and attempt to use it’s internal default resolver to resolve the endpoint.

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 *EndpointNotFoundError) Error() string

Error is the error message.



153
154
155
// File 'aws/endpoints.go', line 153

func (e *EndpointNotFoundError) Error() string { return fmt.Sprintf("endpoint not found, %v", e.Err) }

func (e *EndpointNotFoundError) Unwrap() error

Unwrap returns the underlying error.



158
159
160
// File 'aws/endpoints.go', line 158

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