Exception: OsCtld::HookFailed

Inherits:
StandardError
  • Object
show all
Defined in:
lib/osctld/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(hook, hook_path, exitstatus) ⇒ HookFailed

Returns a new instance of HookFailed.

Parameters:

  • hook (Container::Hook::Base)
  • hook_path (String)
  • exitstatus (Integer)


57
58
59
# File 'lib/osctld/exceptions.rb', line 57

def initialize(hook, hook_path, exitstatus)
  super("hook #{hook.class.hook_name} at #{hook_path} exited with #{exitstatus}")
end