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 (Hook::Base)
  • hook_path (String)
  • exitstatus (Integer)


69
70
71
# File 'lib/osctld/exceptions.rb', line 69

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