Exception: Paradeiser::HookFailedError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/paradeiser/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(hook, out, err, status) ⇒ HookFailedError

Returns a new instance of HookFailedError.



27
28
29
# File 'lib/paradeiser/errors.rb', line 27

def initialize(hook, out, err, status)
  super("The hook #{hook} failed with status #{status.exitstatus}. STDERR contained: #{err}")
end