Exception: Fasten::WorkerError
- Inherits:
-
StandardError
- Object
- StandardError
- Fasten::WorkerError
- Defined in:
- lib/fasten/worker.rb
Instance Attribute Summary collapse
-
#backtrace ⇒ Object
readonly
Returns the value of attribute backtrace.
Instance Method Summary collapse
-
#initialize(origin) ⇒ WorkerError
constructor
A new instance of WorkerError.
Constructor Details
#initialize(origin) ⇒ WorkerError
Returns a new instance of WorkerError.
11 12 13 14 |
# File 'lib/fasten/worker.rb', line 11 def initialize(origin) super "#{origin.class} #{origin.}" @backtrace = origin.backtrace end |
Instance Attribute Details
#backtrace ⇒ Object (readonly)
Returns the value of attribute backtrace.
9 10 11 |
# File 'lib/fasten/worker.rb', line 9 def backtrace @backtrace end |