Exception: Spoom::Deadcode::Error

Inherits:
Error
  • Object
show all
Extended by:
T::Helpers, T::Sig
Defined in:
lib/spoom/deadcode.rb

Direct Known Subclasses

IndexerError, ParserError

Instance Method Summary collapse

Constructor Details

#initialize(message, parent:) ⇒ Error

Returns a new instance of Error.



25
26
27
28
# File 'lib/spoom/deadcode.rb', line 25

def initialize(message, parent:)
  super(message)
  set_backtrace(parent.backtrace)
end