Exception: ElasticBeans::Command::Exec::ExecEnvironmentBusyError
- Inherits:
-
Error
- Object
- StandardError
- Error
- ElasticBeans::Command::Exec::ExecEnvironmentBusyError
- Defined in:
- lib/elastic_beans/command/exec.rb
Instance Method Summary collapse
-
#initialize(timeout:) ⇒ ExecEnvironmentBusyError
constructor
A new instance of ExecEnvironmentBusyError.
- #message ⇒ Object
Constructor Details
#initialize(timeout:) ⇒ ExecEnvironmentBusyError
Returns a new instance of ExecEnvironmentBusyError.
181 182 183 |
# File 'lib/elastic_beans/command/exec.rb', line 181 def initialize(timeout:) @timeout = timeout end |
Instance Method Details
#message ⇒ Object
185 186 187 188 189 190 |
# File 'lib/elastic_beans/command/exec.rb', line 185 def <<-MESSAGE The exec environment is too busy to reserve an instance for this interactive session (we waited #{@timeout} seconds). Please scale it up and try again. MESSAGE end |