Class: Exceptions::Backends::Raiser

Inherits:
Exceptions::Backend show all
Defined in:
lib/exceptions/backends/raiser.rb

Overview

Public: Raiser is an implementation of the Backend interface that raises the exception.

Instance Method Summary collapse

Methods inherited from Exceptions::Backend

#clear_context, #context, #rack_exception

Instance Method Details

#notify(exception, options = {}) ⇒ Object



5
6
7
# File 'lib/exceptions/backends/raiser.rb', line 5

def notify(exception, options = {})
  raise exception
end