summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-30 00:22:32 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-30 00:22:32 +0000
commit9802a3e7dec322e396783f7585dc76d6538a44a8 (patch)
tree333a897e744e01d68edf871a9517d06f0d76dac5 /error.c
parentb57a0d44f9edf90c02cf2e6dbf574cf9c6eb2d5a (diff)
* lib/cmath.rb: Hide handle_no_method_error from RDoc.
* error.c: Document or hide undocumented error classes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/error.c b/error.c
index 66ebbba2cc..aa87c29833 100644
--- a/error.c
+++ b/error.c
@@ -1465,6 +1465,12 @@ syserr_eqq(VALUE self, VALUE exc)
*/
/*
+ * Document-class: EncodingError
+ *
+ * EncodingError is the base class for encoding errors.
+ */
+
+/*
* Document-class: Encoding::CompatibilityError
*
* Raised by Encoding and String methods when the source encoding is
@@ -1472,6 +1478,18 @@ syserr_eqq(VALUE self, VALUE exc)
*/
/*
+ * Document-class: fatal
+ *
+ * fatal is an Exception that is raised when ruby has encountered a fatal
+ * error and must exit. You are not able to rescue fatal.
+ */
+
+/*
+ * Document-class: NameError::message
+ * :nodoc:
+ */
+
+/*
* Descendants of class <code>Exception</code> are used to communicate
* between <code>raise</code> methods and <code>rescue</code>
* statements in <code>begin/end</code> blocks. <code>Exception</code>