module ExceptionTransformer::ReportableException
Every `Reportable` that includes `ReportableException` will be raised with the `reportable?` flag set to true.
Public Class Methods
included(base)
click to toggle source
# File lib/exception_transformer/reportable.rb, line 84 def self.included(base) base.include(Reportable) unless base <= Reportable base.extend ClassMethods end
Public Instance Methods
exception(*args)
click to toggle source
Calls superclass method
# File lib/exception_transformer/reportable.rb, line 99 def exception(*args) mark_reportable! super end