Method: Kitchen::StandardError#initialize
- Defined in:
- lib/kitchen/errors.rb
#initialize(msg, original = $ERROR_INFO) ⇒ StandardError
Creates a new StandardError exception which optionally wraps an original
exception if given or detected by checking the $! global variable.
97 98 99 100 |
# File 'lib/kitchen/errors.rb', line 97 def initialize(msg, original = $ERROR_INFO) super(msg) @original = original end |