From 7f6eb1ed2c2a9dc76227ac355446b6d4b6c27733 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Mon, 10 Feb 2020 22:59:27 +0100 Subject: T2026: make cli-shell-api showConfig fail on errors. --- src/vyos-errors.h | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/vyos-errors.h (limited to 'src/vyos-errors.h') diff --git a/src/vyos-errors.h b/src/vyos-errors.h new file mode 100644 index 0000000..790f4c4 --- /dev/null +++ b/src/vyos-errors.h @@ -0,0 +1,4 @@ +#define VYOS_SUCCESS 0 +#define VYOS_GENERAL_FAILURE 1 +#define VYOS_INVALID_PATH 2 +#define VYOS_EMPTY_CONFIG 3 -- cgit v1.2.3