Exception: Aws::Errors::MissingCredentialsError

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



123
124
125
126
# File 'lib/aws-sdk-core/errors.rb', line 123

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