Exception: DRb::DRbRemoteError
- Defined in:
- lib/opal/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.
22 23 24 25 26 |
# File 'lib/opal/drb/drb.rb', line 22 def initialize(error) @reason = error.class.to_s super("#{error.} (#{error.class})") set_backtrace(error.backtrace) end |
Instance Attribute Details
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
28 29 30 |
# File 'lib/opal/drb/drb.rb', line 28 def reason @reason end |