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

Exception: Aws::Errors::MetadataParserError

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

Overview

Raised when InstanceProfileCredentialsProvider or EcsCredentialsProvider fails to parse the metadata response after retries

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ MetadataParserError

Returns a new instance of MetadataParserError.



40
41
42
43
# File 'aws-sdk-core/lib/aws-sdk-core/errors.rb', line 40

def initialize(*args)
  msg = "Failed to parse metadata service response."
  super(msg)
end