Exception: Krane::RestartTask::RestartAPIError

Inherits:
FatalRestartError show all
Defined in:
lib/krane/restart_task.rb

Instance Method Summary collapse

Constructor Details

#initialize(deployment_name, message) ⇒ RestartAPIError

Returns a new instance of RestartAPIError.



15
16
17
18
# File 'lib/krane/restart_task.rb', line 15

def initialize(deployment_name, message)
  super("Failed to restart #{deployment_name}. " \
      "Error:\n#{message}")
end