Exception: AwsLocalConfigParser::NoAwsConfig
- Inherits:
-
StandardError
- Object
- StandardError
- AwsLocalConfigParser::NoAwsConfig
- Defined in:
- lib/aws_local_config_parser/errors.rb
Instance Attribute Summary collapse
-
#config_path ⇒ Object
readonly
Returns the value of attribute config_path.
Instance Method Summary collapse
-
#initialize(config_path:) ⇒ NoAwsConfig
constructor
A new instance of NoAwsConfig.
- #message ⇒ Object
Constructor Details
#initialize(config_path:) ⇒ NoAwsConfig
Returns a new instance of NoAwsConfig.
7 8 9 10 |
# File 'lib/aws_local_config_parser/errors.rb', line 7 def initialize(config_path:) @config_path = config_path super(msg: ) end |
Instance Attribute Details
#config_path ⇒ Object (readonly)
Returns the value of attribute config_path.
5 6 7 |
# File 'lib/aws_local_config_parser/errors.rb', line 5 def config_path @config_path end |
Instance Method Details
#message ⇒ Object
12 13 14 |
# File 'lib/aws_local_config_parser/errors.rb', line 12 def "No AWS config file at: '#{config_path}'." end |