Skip to Content Skip to Search

An exception wrapping an error object

Methods
N

Attributes

[R] reason

the class of the error, as a string.

Class Public methods

new(error)

Creates a new remote error that wraps the Exception error

# File ruby/lib/drb/drb.rb, line 434
def initialize(error)
  @reason = error.class.to_s
  super("#{error.message} (#{error.class})")
  set_backtrace(error.backtrace)
end