Exception: RubyAemAws::ArgumentError
- Inherits:
-
StandardError
- Object
- StandardError
- RubyAemAws::ArgumentError
- Defined in:
- lib/ruby_aem_aws/error.rb
Overview
Raise this when credentials can’t be found
Instance Method Summary collapse
-
#initialize(msg = "No credentials found! Set environment variable AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY or AWS_PROFILE. Alternative use following syntax: RubyAemAws::AemAws.new(aws_access_key_id, aws_secret_access_key) or RubyAemAws::AemAws.new(credentials_profile_name)") ⇒ ArgumentError
constructor
A new instance of ArgumentError.
Constructor Details
#initialize(msg = "No credentials found! Set environment variable AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY or AWS_PROFILE. Alternative use following syntax: RubyAemAws::AemAws.new(aws_access_key_id, aws_secret_access_key) or RubyAemAws::AemAws.new(credentials_profile_name)") ⇒ ArgumentError
Returns a new instance of ArgumentError.
53 54 55 56 57 58 59 |
# File 'lib/ruby_aem_aws/error.rb', line 53 def initialize(msg = "No credentials found! Set environment variable AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY or AWS_PROFILE. Alternative use following syntax: RubyAemAws::AemAws.new(aws_access_key_id, aws_secret_access_key) or RubyAemAws::AemAws.new(credentials_profile_name)") super end |