Module: ExceptionTransformer::ReportableException::ClassMethods
- Defined in:
- lib/exception_transformer/reportable.rb
Instance Method Summary collapse
Instance Method Details
#exception(*args) ⇒ Object
90 91 92 93 94 95 96 |
# File 'lib/exception_transformer/reportable.rb', line 90 def exception(*args) if reported_class == self super.tap(&:mark_reportable!) else reported_class.exception(*args).tap(&:mark_reportable!) end end |