Exception: ElasticBeans::Command::Exec::BastionAuthenticationError
- Inherits:
-
Error
- Object
- StandardError
- Error
- ElasticBeans::Command::Exec::BastionAuthenticationError
- Defined in:
- lib/elastic_beans/command/exec.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.
161 162 163 |
# File 'lib/elastic_beans/command/exec.rb', line 161 def initialize(cause:) @cause = cause end |
Instance Method Details
#backtrace ⇒ Object
165 166 167 |
# File 'lib/elastic_beans/command/exec.rb', line 165 def backtrace @cause.backtrace end |
#message ⇒ Object
169 170 171 172 173 174 175 176 177 |
# File 'lib/elastic_beans/command/exec.rb', line 169 def <<-MESSAGE #{@cause.} Please check the bastion options and try again. #{command_help "exec"} MESSAGE end |