Exception: ElasticBeans::Command::SSH::BastionAuthenticationError
- Inherits:
-
Error
- Object
- StandardError
- Error
- ElasticBeans::Command::SSH::BastionAuthenticationError
- Defined in:
- lib/elastic_beans/command/ssh.rb
Instance Method Summary collapse
- #backtrace ⇒ Object
-
#initialize(cause:) ⇒ BastionAuthenticationError
constructor
A new instance of BastionAuthenticationError.
- #message ⇒ Object
Constructor Details
#initialize(cause:) ⇒ BastionAuthenticationError
95 96 97 |
# File 'lib/elastic_beans/command/ssh.rb', line 95 def initialize(cause:) @cause = cause end |
Instance Method Details
#backtrace ⇒ Object
99 100 101 |
# File 'lib/elastic_beans/command/ssh.rb', line 99 def backtrace @cause.backtrace end |
#message ⇒ Object
103 104 105 106 107 108 109 110 111 |
# File 'lib/elastic_beans/command/ssh.rb', line 103 def "\#{@cause.message}\n\nPlease check the bastion options and try again.\n\n\#{command_help \"ssh\"}\n MESSAGE\nend\n" |