class Diecut::ErrorHandling::AllRaise

Public Instance Methods

handle_exception(ex) click to toggle source
# File lib/diecut/errors.rb, line 63
def handle_exception(ex)
  raise
end
missing_context_field(option_name, context_path) click to toggle source
# File lib/diecut/errors.rb, line 71
def missing_context_field(option_name, context_path)
  raise MissingContext, missing_context_field_message(option_name, context_path)
end
unregistered_plugin_source(source_path) click to toggle source
# File lib/diecut/errors.rb, line 67
def unregistered_plugin_source(source_path)
  raise UnregisteredPluginSource, unregistered_plugin_source_message(source_path)
end
unused_default(context_path) click to toggle source
# File lib/diecut/errors.rb, line 75
def unused_default(context_path)
  raise UnusedDefault, unused_default_message(context_path)
end