Module: DeprecationHelper::Strategies::ErrorStrategyInterface

Extended by:
T::Helpers, T::Sig
Includes:
BaseStrategyInterface
Defined in:
lib/deprecation_helper/strategies/error_strategy_interface.rb

Instance Method Summary collapse

Instance Method Details

#apply!(message, backtrace) ⇒ Object



13
14
15
16
17
# File 'lib/deprecation_helper/strategies/error_strategy_interface.rb', line 13

def apply!(message, backtrace)
  exception = DeprecationException.new(message)
  exception.set_backtrace(backtrace)
  apply_to_exception!(exception)
end

#apply_to_exception!(exception) ⇒ Object



20
21
# File 'lib/deprecation_helper/strategies/error_strategy_interface.rb', line 20

def apply_to_exception!(exception)
end