Class: Celluloid::Internals::Response::Error

Inherits:
Celluloid::Internals::Response show all
Defined in:
lib/celluloid/internals/responses.rb

Overview

Call was aborted due to sender error

Instance Attribute Summary

Attributes inherited from Celluloid::Internals::Response

#call

Instance Method Summary collapse

Methods inherited from Celluloid::Internals::Response

#dispatch, #initialize

Constructor Details

This class inherits a constructor from Celluloid::Internals::Response

Instance Method Details

#valueObject



21
22
23
24
25
26
27
28
29
30
31
# File 'lib/celluloid/internals/responses.rb', line 21

def value
  ex = super
  ex = ex.cause if ex.is_a? Celluloid::AbortError

  if ex.backtrace
    ex.backtrace << "(celluloid):0:in `remote procedure call'"
    ex.backtrace.concat(caller)
  end

  raise ex
end