Exception: DRb::DRbRemoteError
- Defined in:
- lib/drb/drb.rb
Instance Attribute Summary collapse
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(error) ⇒ DRbRemoteError
constructor
A new instance of DRbRemoteError.
Constructor Details
#initialize(error) ⇒ DRbRemoteError
Returns a new instance of DRbRemoteError.
19 20 21 22 23 |
# File 'lib/drb/drb.rb', line 19 def initialize(error) @reason = error.class.to_s super("#{error.message} (#{error.class})") set_backtrace(error.backtrace) end |
Instance Attribute Details
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
25 26 27 |
# File 'lib/drb/drb.rb', line 25 def reason @reason end |