Exception: ElasticBeans::Command::Exec::TerminatedInstanceError

Inherits:
Error
  • Object
show all
Defined in:
lib/elastic_beans/command/exec.rb

Instance Method Summary collapse

Constructor Details

#initialize(instance_id:) ⇒ TerminatedInstanceError

Returns a new instance of TerminatedInstanceError.



194
195
196
# File 'lib/elastic_beans/command/exec.rb', line 194

def initialize(instance_id:)
  @instance_id = instance_id
end

Instance Method Details

#messageObject



198
199
200
201
202
203
204
# File 'lib/elastic_beans/command/exec.rb', line 198

def message
  <<-MESSAGE
The exec instance '#{@instance_id}' was terminated.
Please check the exec environment status, wait for the environment to stabilize, and try again.
  MESSAGE
  msg
end