123456789_123456789_123456789_123456789_123456789_

Exception: DRb::DRbUnknownError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, DRbError, RuntimeError
Instance Chain:
self, DRbError, RuntimeError
Inherits: DRb::DRbError
Defined in: lib/drb/drb.rb

Overview

An exception wrapping a DRbUnknown object

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(unknown) ⇒ DRbUnknownError

Create a new DRbUnknownError for the DRbUnknown object #unknown

[ GitHub ]

  
# File 'lib/drb/drb.rb', line 413

def initialize(unknown)
  @unknown = unknown
  super(unknown.name)
end

Instance Attribute Details

#unknown (readonly)

Get the wrapped DRbUnknown object.

[ GitHub ]

  
# File 'lib/drb/drb.rb', line 419

attr_reader :unknown