class DRb::DRbUnknownError

Parent:
DRb::DRbError

An exception wrapping a DRb::DRbUnknown object

Attributes

unknown[R]

Get the wrapped DRb::DRbUnknown object.

Public Class Methods

new(unknown) Show source
# File lib/drb/drb.rb, line 414
def initialize(unknown)
  @unknown = unknown
  super(unknown.name)
end

Create a new DRbUnknownError for the DRb::DRbUnknown object unknown

Calls superclass method Exception.new

Ruby Core © 1993–2017 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.