You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Exception: Aws::Errors::EndpointDiscoveryError

Inherits:
RuntimeError
  • Object
show all
Defined in:
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.



68
69
70
71
72
# File 'aws-sdk-core/lib/aws-sdk-core/errors.rb', line 68

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