Exception: OsCtld::HookFailed

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

Instance Method Summary collapse

Constructor Details

#initialize(hook, exitstatus) ⇒ HookFailed

Returns a new instance of HookFailed

Parameters:

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


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

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