Class: Async::ErrorReporting
- Inherits:
-
Object
- Object
- Async::ErrorReporting
- Defined in:
- lib/async.rb
Overview
TODO: test this
Class Attribute Summary collapse
-
.handler ⇒ Object
Returns the value of attribute handler.
Class Method Summary collapse
Class Attribute Details
.handler ⇒ Object
Returns the value of attribute handler.
64 65 66 |
# File 'lib/async.rb', line 64 def handler @handler end |
Class Method Details
.notify_exception(e, job_args) ⇒ Object
66 67 68 |
# File 'lib/async.rb', line 66 def self.notify_exception(e, job_args) handler && handler.call(e, job_args) end |