sig
  type error =
      NO_CONVERSION
    | ILLEGAL_SEQUENCE
    | FAILED
    | PARTIAL_INPUT
    | BAD_URI
    | NOT_ABSOLUTE_PATH
  exception Error of Gutf8.Error.error * string
  val raise_bad_utf8 : unit -> 'a
end