summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
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>