From fecc53f0ecbcc514a63d7f3eba3ee0342bbe870d Mon Sep 17 00:00:00 2001 From: marcandre Date: Sat, 8 May 2010 04:58:32 +0000 Subject: * error.c: RDoc for subclasses of Exception. [ruby-core:28394] * cont.c: ditto * enumerator.c: ditto * io.c: ditto * math.c: ditto * numeric.c: ditto * proc.c: ditto * re.c: ditto * thread.c: ditto * transcode.c: ditto. Thanks to Run Paint for some of the documentation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- transcode.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'transcode.c') diff --git a/transcode.c b/transcode.c index 6490f5b3bc..5ca3a3abc9 100644 --- a/transcode.c +++ b/transcode.c @@ -4217,6 +4217,28 @@ ecerr_incomplete_input(VALUE self) extern void Init_newline(void); +/* + * Document-class: Encoding::UndefinedConversionError + * + * Raised by Encoding and String methods when a transcoding operation + * fails. + */ + +/* + * Document-class: Encoding::InvalidByteSequenceError + * + * Raised by Encoding and String methods when the string being + * transcoded contains a byte invalid for the either the source or + * target encoding. + */ + +/* + * Document-class: Encoding::ConverterNotFoundError + * + * Raised by transcoding methods when a named encoding does not + * correspond with a known converter. + */ + void Init_transcode(void) { -- cgit v1.2.3