diff options
Diffstat (limited to 'src/vyconf_pb.mli')
-rw-r--r-- | src/vyconf_pb.mli | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/vyconf_pb.mli b/src/vyconf_pb.mli index abcb12d..d42e6df 100644 --- a/src/vyconf_pb.mli +++ b/src/vyconf_pb.mli @@ -119,12 +119,18 @@ type request = type status = | Success | Fail + | Invalid_path + | Invalid_value + | Commit_in_progress + | Configuration_locked + | Internal_error + | Permission_denied type response = { status : status; output : string option; - errors : string list; - warnings : string list; + error : string option; + warning : string option; } @@ -266,8 +272,8 @@ val default_status : unit -> status val default_response : ?status:status -> ?output:string option -> - ?errors:string list -> - ?warnings:string list -> + ?error:string option -> + ?warning:string option -> unit -> response (** [default_response ()] is the default value for type [response] *) |