package lablgtk3

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

to_unichar_validated may raise PARTIAL_INPUT or ILLEGAL_SEQUENCE

type error =
  1. | NO_CONVERSION
    (*

    Conversion between the requested character sets is not supported

    *)
  2. | ILLEGAL_SEQUENCE
    (*

    Invalid byte sequence in conversion input

    *)
  3. | FAILED
    (*

    Conversion failed for some reason

    *)
  4. | PARTIAL_INPUT
    (*

    Partial character sequence at end of input

    *)
  5. | BAD_URI
    (*

    URI is invalid

    *)
  6. | NOT_ABSOLUTE_PATH
    (*

    Pathname is not an absolute path

    *)
exception Error of error * string
val raise_bad_utf8 : unit -> 'a