class DRb::DRbRemoteError
An exception wrapping an error object
Attributes
the class of the error, as a string.
Public Class Methods
Source
# File vendor/bundle/ruby/4.0.0/gems/drb-2.2.3/lib/drb/drb.rb, line 462 def initialize(error) @reason = error.class.to_s super("#{error.message} (#{error.class})") set_backtrace(error.backtrace) end
Creates a new remote error that wraps the Exception error
Calls superclass method