Exception: Aws::Sigv4::Errors::MissingCredentialsError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/aws-sigv4/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ MissingCredentialsError

Returns a new instance of MissingCredentialsError.



6
7
8
9
10
11
12
13
# File 'lib/aws-sigv4/errors.rb', line 6

def initialize(msg = nil)
  super(msg || "missing credentials, provide credentials with one of the following options:\n  - :access_key_id and :secret_access_key\n  - :credentials\n  - :credentials_provider\n  MSG\nend\n".strip)