···9293val decode_jsont_exn : string -> Toml.t
94(** [decode_jsont_exn s] is like [decode_jsont'] but raises on error.
95- @raise Jsont.Error.Error on decode failure. *)
9697(** {1:internal Internal Types}
98
···9293val decode_jsont_exn : string -> Toml.t
94(** [decode_jsont_exn s] is like [decode_jsont'] but raises on error.
95+ @raise Jsont.exception-Error on decode failure. *)
9697(** {1:internal Internal Types}
98
+2-2
lib_unix/tomlt_unix.mli
···57val of_channel : ?file:string -> in_channel -> Tomlt.Toml.t
58(** [of_channel ic] reads and parses TOML from an input channel.
59 @param file Optional filename for error messages.
60- @raise Toml.Error.Error on parse errors. *)
6162val to_channel : out_channel -> Tomlt.Toml.t -> unit
63(** [to_channel oc value] writes [value] as TOML to an output channel.
···7374val decode_file_exn : 'a Tomlt.t -> string -> 'a
75(** [decode_file_exn codec path] is like {!decode_file} but raises on errors.
76- @raise Toml.Error.Error on parse or decode errors.
77 @raise Sys_error on file errors. *)
7879val encode_file : 'a Tomlt.t -> 'a -> string -> unit
···57val of_channel : ?file:string -> in_channel -> Tomlt.Toml.t
58(** [of_channel ic] reads and parses TOML from an input channel.
59 @param file Optional filename for error messages.
60+ @raise Tomlt.Toml.Error.exception-Error on parse errors. *)
6162val to_channel : out_channel -> Tomlt.Toml.t -> unit
63(** [to_channel oc value] writes [value] as TOML to an output channel.
···7374val decode_file_exn : 'a Tomlt.t -> string -> 'a
75(** [decode_file_exn codec path] is like {!decode_file} but raises on errors.
76+ @raise Tomlt.Toml.Error.exception-Error on parse or decode errors.
77 @raise Sys_error on file errors. *)
7879val encode_file : 'a Tomlt.t -> 'a -> string -> unit