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

Exception: Aws::Errors::MetadataParserError

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



46
47
48
49
# File 'gems/aws-sdk-core/lib/aws-sdk-core/errors.rb', line 46

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