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
Returns a new instance of 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 <<-MESSAGE #{@cause.} Please check the bastion options and try again. #{command_help "ssh"} MESSAGE end |