summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-24 14:05:33 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-24 14:05:33 +0000
commit0344bece9ff37e6e707c697200a5b54516cb5e9c (patch)
tree8e229bcbdebf21f90034b5780ade98349af7226d /error.c
parentc3ebf85a819f00f325a47e5b1e2f19ae227dced9 (diff)
* error.c: fix wrong exception class name in rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/error.c b/error.c
index 05e6b08f8d..addf8b63f2 100644
--- a/error.c
+++ b/error.c
@@ -1231,7 +1231,7 @@ syserr_eqq(VALUE self, VALUE exc)
* ScriptError is the superclass for errors raised when a script
* can not be executed because of a +LoadError+,
* +NotImplementedError+ or a +SyntaxError+. Note these type of
- * +ScriptErrors+ are not +StandardExceptions+ and will not be
+ * +ScriptErrors+ are not +StandardError+ and will not be
* rescued unless it is specified explicitly (or its ancestor
* +Exception+).
*/
@@ -1381,7 +1381,7 @@ syserr_eqq(VALUE self, VALUE exc)
* objects carry information about the exception---its type (the
* exception's class name), an optional descriptive string, and
* optional traceback information. Programs may subclass
- * <code>Exception</code>, or more typically <code>StandardException</code>
+ * <code>Exception</code>, or more typically <code>StandardError</code>
* to provide custom classes and add additional information.
*/