Exception: Aws::Sigv4::Errors::MissingCredentialsError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Aws::Sigv4::Errors::MissingCredentialsError
- Defined in:
- gems/aws-sigv4/lib/aws-sigv4/errors.rb
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ MissingCredentialsError
constructor
A new instance of MissingCredentialsError.
Constructor Details
#initialize(msg = nil) ⇒ MissingCredentialsError
Returns a new instance of MissingCredentialsError.
8 9 10 11 12 13 14 15 |
# File 'gems/aws-sigv4/lib/aws-sigv4/errors.rb', line 8 def initialize(msg = nil) super(msg || <<-MSG.strip) missing credentials, provide credentials with one of the following options: - :access_key_id and :secret_access_key - :credentials - :credentials_provider MSG end |