An exception wrapping an error object
the class of the error, as a string.
# File lib/drb/drb.rb, line 433 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
Exception::new
Ruby Core © 1993–2020 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.