Exception: AwsLocalConfigParser::NoMatchingSsoSession
- Inherits:
-
StandardError
- Object
- StandardError
- AwsLocalConfigParser::NoMatchingSsoSession
- Defined in:
- lib/aws_local_config_parser/errors.rb
Instance Attribute Summary collapse
-
#config_path ⇒ Object
readonly
Returns the value of attribute config_path.
-
#sso_session ⇒ Object
readonly
Returns the value of attribute sso_session.
Instance Method Summary collapse
-
#initialize(sso_session:, config_path:) ⇒ NoMatchingSsoSession
constructor
A new instance of NoMatchingSsoSession.
- #message ⇒ Object
Constructor Details
#initialize(sso_session:, config_path:) ⇒ NoMatchingSsoSession
Returns a new instance of NoMatchingSsoSession.
34 35 36 37 38 |
# File 'lib/aws_local_config_parser/errors.rb', line 34 def initialize(sso_session:, config_path:) @sso_session = sso_session @config_path = config_path super(msg: ) end |
Instance Attribute Details
#config_path ⇒ Object (readonly)
Returns the value of attribute config_path.
32 33 34 |
# File 'lib/aws_local_config_parser/errors.rb', line 32 def config_path @config_path end |
#sso_session ⇒ Object (readonly)
Returns the value of attribute sso_session.
32 33 34 |
# File 'lib/aws_local_config_parser/errors.rb', line 32 def sso_session @sso_session end |
Instance Method Details
#message ⇒ Object
40 41 42 |
# File 'lib/aws_local_config_parser/errors.rb', line 40 def "No matching sso-session, '#{sso_session}', in '#{config_path}'." end |