Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
TomlImplementation.Parserval from_file : string -> tReads TOML from a file. May raise Parse_error or Stdlib.Sys_error.
val from_channel : in_channel -> tReads TOML from an input channel. May raise Parse_error or Stdlib.Sys_error.
val from_string : string -> tReads TOML from a string. May raise Parse_error or Stdlib.Sys_error.
Like from_file, but handles both Parse_error or Stdlib.Sys_error exceptions and wraps the error message in Stdlib.result.
val from_channel_result : in_channel -> (t, string) resultConverts the value attached to a Parse_error exception to an error message string.