diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-19 22:07:42 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-19 22:07:42 +0000 |
commit | 905cd041c9b5a8f7de52357341a08d41cf972c05 (patch) | |
tree | 2043157ecc42afa61662886b1d48a5a38f28b7b5 /lib/drb | |
parent | a6db3fc7b8702b485d87f6bdd7e914905104ab16 (diff) | |
download | ruby-905cd041c9b5a8f7de52357341a08d41cf972c05.tar.gz |
RDoc from Hugh Sasse [ruby-core:8012]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/drb')
-rw-r--r-- | lib/drb/drb.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/drb/drb.rb b/lib/drb/drb.rb index 4c46909500..a11a5bbf2d 100644 --- a/lib/drb/drb.rb +++ b/lib/drb/drb.rb @@ -430,12 +430,15 @@ module DRb 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 |