From 56130bfe30781c210c7459e5df9afa7d894aeec7 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Fri, 16 Feb 2018 12:54:25 +0700 Subject: Add logging of interface definition file loading. Move the high level load_interface_definitions function from Reference_tree to Startup. --- src/reference_tree.mli | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/reference_tree.mli') diff --git a/src/reference_tree.mli b/src/reference_tree.mli index 6db696a..33813d5 100644 --- a/src/reference_tree.mli +++ b/src/reference_tree.mli @@ -14,6 +14,8 @@ type ref_node_data = { secret: bool; } +exception Bad_interface_definition of string + exception Validation_error of string type t = ref_node_data Vytree.t @@ -24,8 +26,6 @@ val default : t val load_from_xml : t -> string -> t -val load_interface_definitions : string -> (t, string) result - val validate_path : string -> t -> string list -> string list * string option val is_multi : t -> string list -> bool -- cgit v1.2.3