module Error:sig
..end
to_unichar_validated
may raise PARTIAL_INPUT
or ILLEGAL_SEQUENCE
type
error =
| |
NO_CONVERSION |
(* |
Conversion between the requested character sets is not supported
| *) |
| |
ILLEGAL_SEQUENCE |
(* |
Invalid byte sequence in conversion input
| *) |
| |
FAILED |
(* |
Conversion failed for some reason
| *) |
| |
PARTIAL_INPUT |
(* |
Partial character sequence at end of input
| *) |
| |
BAD_URI |
(* |
URI is invalid
| *) |
| |
NOT_ABSOLUTE_PATH |
(* |
Pathname is not an absolute path
| *) |
exception Error of error * string
val raise_bad_utf8 : unit -> 'a