summaryrefslogtreecommitdiff
path: root/lib/configuration/read_conf.mli
blob: 3f2dde5a869400ef3dd7f9af294aeaae9fbb7571 (plain)
1
2
3
4
5
6
7
8
9
type error = Json5.Decode.error

val read_conf : string -> (Ast.setting, error) result
(** Read the configuration from a file *)

val read_string_conf : string -> (Ast.setting, error) result
(** Read the configuration from a string *)

val pp_error : Format.formatter -> error -> unit