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.



188
189
190
191
# File 'gems/aws-sdk-core/lib/aws-sdk-core/errors.rb', line 188

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