From 9802a3e7dec322e396783f7585dc76d6538a44a8 Mon Sep 17 00:00:00 2001 From: drbrain Date: Thu, 30 Jun 2011 00:22:32 +0000 Subject: * 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 --- error.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'error.c') diff --git a/error.c b/error.c index 66ebbba2cc..aa87c29833 100644 --- a/error.c +++ b/error.c @@ -1464,6 +1464,12 @@ syserr_eqq(VALUE self, VALUE exc) * Errno::ENOENT: No such file or directory - does/not/exist */ +/* + * Document-class: EncodingError + * + * EncodingError is the base class for encoding errors. + */ + /* * Document-class: Encoding::CompatibilityError * @@ -1471,6 +1477,18 @@ syserr_eqq(VALUE self, VALUE exc) * incompatible with the target encoding. */ +/* + * 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 Exception are used to communicate * between raise methods and rescue -- cgit v1.2.3