Exception: Exception

Defined in:
lib/core/exception.rb

Overview

Author

radiospiel ([email protected])

Copyright

Copyright © 2011, 2012 radiospiel

License

Distributes under the terms of the Modified BSD License, see LICENSE.BSD for details.

++

Instance Method Summary collapse

Instance Method Details

#reraise_with_current_backtrace!Object

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

Raises:

  • (self)


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

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