Method: Exception#reraise_with_current_backtrace!

Defined in:
lib/core/exception.rb

#reraise_with_current_backtrace!Object

Create an ArgumentError with an adjusted backtrace. We don’t want to see the user all the annotation internals.



11
12
13
14
# File 'lib/core/exception.rb', line 11

def reraise_with_current_backtrace!
  set_backtrace caller[2..-1]
  fail self
end