From: Hugh Sasse Date: 2006-06-19T18:04:37+09:00 Subject: small patch for drb/drb.rb. (fwd) People on Ruby-Doc tell me this sort of thing should go to ruby-core, so here it is. Thank you. Hugh ---------- Forwarded message ---------- Date: Fri, 16 Jun 2006 15:55:46 +0100 (WEST) From: Hugh Sasse Reply-To: ruby-doc@ruby-lang.org To: Ruby-Doc Subject: small patch for drb/drb.rb. While trying to understand drb more deeply I created this patch This was shortly after a cvs update -d. I'm not sure why the timestamp of the original is so new. Maybe I need another option to cvs or cvs update. Anyway, hope it helps. Hugh --- lib/drb/drb.rb 2006-06-16 15:22:20.844390000 +0100 +++ lib/drb/drb_new.rb 2006-06-16 15:50:39.285669000 +0100 @@ -430,12 +430,15 @@ end end + # An exception wrapping an error object class DRbRemoteError < DRbError def initialize(error) @reason = error.class.to_s super("#{error.message} (#{error.class})") set_backtrace(error.backtrace) end + + # the class of the error, as a string. attr_reader :reason end