AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Exception: Aws::Errors::EndpointDiscoveryError

Inherits:
RuntimeError
  • Object
show all
Defined in:
gems/aws-sdk-core/lib/aws-sdk-core/errors.rb

Overview

Rasied when endpoint discovery failed for operations that requires endpoints from endpoint discovery

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ EndpointDiscoveryError

Returns a new instance of EndpointDiscoveryError.



74
75
76
77
78
# File 'gems/aws-sdk-core/lib/aws-sdk-core/errors.rb', line 74

def initialize(*args)
  msg = 'Endpoint discovery failed for the operation or discovered endpoint is not working, '\
        'request will keep failing until endpoint discovery succeeds or :endpoint option is provided.'
  super(msg)
end