summaryrefslogtreecommitdiff
path: root/transcode.c
diff options
context:
space:
mode:
Diffstat (limited to 'transcode.c')
-rw-r--r--transcode.c22
1 files changed, 22 insertions, 0 deletions
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)
{