Exception: Ruote::ProcessObserver::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ruote/util/process_observer.rb

Overview

This error is used when handling an 'error_intercepted' message when we're unable to recreate the original exception by passing the error message as the only argument to the constructor (i.e. the call to 'new'). Some exception classes require different arguments on their constructor.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(original_class, message) ⇒ Error


126
127
128
129
# File 'lib/ruote/util/process_observer.rb', line 126

def initialize(original_class, message)
  super(message)
  @original_class = original_class
end

Instance Attribute Details

#original_classObject

Returns the value of attribute original_class


124
125
126
# File 'lib/ruote/util/process_observer.rb', line 124

def original_class
  @original_class
end