module ExceptionTransformer::ReportableException::ClassMethods

Public Instance Methods

exception(*args) click to toggle source
Calls superclass method
# 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