diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-19 15:08:14 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-19 15:08:14 +0000 |
commit | eb41c8d2e33603bbc993ca0778421ea0f12e7fb4 (patch) | |
tree | e2485887b59eff5ca45564e0922653d8f7f6a83f /lib/drb | |
parent | f36b7d8fd55999f3a31473d8aa62833f90872a44 (diff) | |
download | ruby-eb41c8d2e33603bbc993ca0778421ea0f12e7fb4.tar.gz |
* lib/mathn.rb (Integer::prime_division): raise ZeroDivisionError
on zeros. [ruby-dev:28739]
* version.h: 1.8.5 - prepare for preview1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10333 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 2177af871b..dac7a9b02c 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 |