Class
An exception wrapping an error object
Attributes
Read
the class of the error, as a string.
Class Methods
::
lib/drb/drb.rb
View on GitHub
# File tmp/rubies/ruby-2.4.10/lib/drb/drb.rb, line 435
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