Exception: RSMP::Validator::Helpers::Connection::UncaughtException
- Inherits:
-
StandardError
- Object
- StandardError
- RSMP::Validator::Helpers::Connection::UncaughtException
- Defined in:
- lib/rsmp/validator/helpers/connection.rb
Overview
Wraps an uncaught exception from a test block, preserving the original class name, message, and backtrace for clearer test failure output.
Instance Method Summary collapse
-
#initialize(original) ⇒ UncaughtException
constructor
A new instance of UncaughtException.
Constructor Details
#initialize(original) ⇒ UncaughtException
Returns a new instance of UncaughtException.
20 21 22 23 |
# File 'lib/rsmp/validator/helpers/connection.rb', line 20 def initialize(original) super("#{original.class}: #{original.}") set_backtrace(original.backtrace) end |