Class: Diecut::ErrorHandling::AllRaise

Inherits:
FatalRaise show all
Defined in:
lib/diecut/errors.rb

Instance Method Summary collapse

Methods inherited from FatalRaise

#invalid_plugin

Methods inherited from AllWarn

#issue

Methods inherited from Base

#invalid_plugin, #invalid_plugin_message, #missing_context_field_message, #unused_default_message

Instance Method Details

#handle_exception(ex) ⇒ Object



55
56
57
# File 'lib/diecut/errors.rb', line 55

def handle_exception(ex)
  raise
end

#missing_context_field(option_name, context_path) ⇒ Object

Raises:



59
60
61
# File 'lib/diecut/errors.rb', line 59

def missing_context_field(option_name, context_path)
  raise MissingContext, missing_context_field_message(option_name, context_path)
end

#unused_default(context_path) ⇒ Object

Raises:



63
64
65
# File 'lib/diecut/errors.rb', line 63

def unused_default(context_path)
  raise UnusedDefault, unused_default_message(context_path)
end