Exception: Vop::Errors::NestedError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/vop/util/errors.rb

Overview

Direct Known Subclasses

CommandLoadError

Instance Method Summary collapse

Constructor Details

#initialize(message, original = $!) ⇒ NestedError

Returns a new instance of NestedError.



14
15
16
17
# File 'lib/vop/util/errors.rb', line 14

def initialize(message, original = $!)
  super(message + " : " + original.message)
  set_backtrace(original.backtrace)
end