···92929393val decode_jsont_exn : string -> Toml.t
9494(** [decode_jsont_exn s] is like [decode_jsont'] but raises on error.
9595- @raise Jsont.Error.Error on decode failure. *)
9595+ @raise Jsont.exception-Error on decode failure. *)
96969797(** {1:internal Internal Types}
9898
+2-2
lib_unix/tomlt_unix.mli
···5757val of_channel : ?file:string -> in_channel -> Tomlt.Toml.t
5858(** [of_channel ic] reads and parses TOML from an input channel.
5959 @param file Optional filename for error messages.
6060- @raise Toml.Error.Error on parse errors. *)
6060+ @raise Tomlt.Toml.Error.exception-Error on parse errors. *)
61616262val to_channel : out_channel -> Tomlt.Toml.t -> unit
6363(** [to_channel oc value] writes [value] as TOML to an output channel.
···73737474val decode_file_exn : 'a Tomlt.t -> string -> 'a
7575(** [decode_file_exn codec path] is like {!decode_file} but raises on errors.
7676- @raise Toml.Error.Error on parse or decode errors.
7676+ @raise Tomlt.Toml.Error.exception-Error on parse or decode errors.
7777 @raise Sys_error on file errors. *)
78787979val encode_file : 'a Tomlt.t -> 'a -> string -> unit