From a06cddb466eafb046fcfdf0fd60684acb0b3d0a3 Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 24 Apr 2012 13:52:13 +0000 Subject: update doc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- transcode.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'transcode.c') diff --git a/transcode.c b/transcode.c index ac64fdf617..44f5d19a3f 100644 --- a/transcode.c +++ b/transcode.c @@ -3626,9 +3626,12 @@ econv_result_to_symbol(rb_econv_result_t res) * * primitive_convert stops conversion when one of following condition met. * - invalid byte sequence found in source buffer (:invalid_byte_sequence) + * +primitive_errinfo+ and +last_error+ methods returns the detail of the error. * - unexpected end of source buffer (:incomplete_input) * this occur only when :partial_input is not specified. + * +primitive_errinfo+ and +last_error+ methods returns the detail of the error. * - character not representable in output encoding (:undefined_conversion) + * +primitive_errinfo+ and +last_error+ methods returns the detail of the error. * - after some output is generated, before input is done (:after_output) * this occur only when :after_output is specified. * - destination buffer is full (:destination_buffer_full) -- cgit v1.2.3