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

Exception: Aws::Errors::MissingCredentialsError

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

Overview

Raised when a client is constructed and credentials are not set, or the set credentials are empty.

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ MissingCredentialsError

Returns a new instance of MissingCredentialsError



52
53
54
55
# File 'gems/aws-sdk-core/lib/aws-sdk-core/errors.rb', line 52

def initialize(*args)
  msg = 'unable to sign request without credentials set'
  super(msg)
end