diff options
author | Daniil Baturin <daniil@baturin.org> | 2017-01-06 04:38:48 +0700 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2017-01-06 04:38:48 +0700 |
commit | 8d0dac205219fe84dbee0162f102e67c8b2e1616 (patch) | |
tree | d8c4097435607ab2131270df7534b8c3126602c9 /data/vyconf.proto | |
parent | 06eab40896c094a45f190410b6cee85ccb08ff28 (diff) | |
download | vyconf-8d0dac205219fe84dbee0162f102e67c8b2e1616.tar.gz vyconf-8d0dac205219fe84dbee0162f102e67c8b2e1616.zip |
Make error and warning single string, add more specific error codes.
Diffstat (limited to 'data/vyconf.proto')
-rw-r--r-- | data/vyconf.proto | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/data/vyconf.proto b/data/vyconf.proto index 5e77581..1849cd4 100644 --- a/data/vyconf.proto +++ b/data/vyconf.proto @@ -124,11 +124,17 @@ message Request { enum Status { SUCCESS = 0; FAIL = 1; + INVALID_PATH = 2; + INVALID_VALUE = 3; + COMMIT_IN_PROGRESS = 4; + CONFIGURATION_LOCKED = 5; + INTERNAL_ERROR = 6; + PERMISSION_DENIED = 7; } message Response { required Status status = 1; optional string output = 2; - repeated string errors = 3; - repeated string warnings = 4; + optional string error = 3; + optional string warning = 4; } |