diff options
author | John Estabrook <jestabro@vyos.io> | 2024-07-18 07:23:17 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-18 07:23:17 -0500 |
commit | 4d088e615adf5f9cb51b7d83c43f6476a6f1550b (patch) | |
tree | 4486e447f792d32959d6d70345c90238dea4e03d /src/services/api | |
parent | fae91a8d206ecc630284528ed5185aa3bce6bce1 (diff) | |
parent | 33ae19a57dc12ffb38973de5666b428e11187602 (diff) | |
download | vyos-1x-4d088e615adf5f9cb51b7d83c43f6476a6f1550b.tar.gz vyos-1x-4d088e615adf5f9cb51b7d83c43f6476a6f1550b.zip |
Merge pull request #3818 from dmbaturin/T6586-unconfigured-object
op-mode: T6586: add a distinct exception for unconfigured objects (as opposed to entire subsystems)
Diffstat (limited to 'src/services/api')
-rw-r--r-- | src/services/api/graphql/session/errors/op_mode_errors.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/services/api/graphql/session/errors/op_mode_errors.py b/src/services/api/graphql/session/errors/op_mode_errors.py index 18d555f2d..800767219 100644 --- a/src/services/api/graphql/session/errors/op_mode_errors.py +++ b/src/services/api/graphql/session/errors/op_mode_errors.py @@ -1,5 +1,6 @@ op_mode_err_msg = { "UnconfiguredSubsystem": "subsystem is not configured or not running", + "UnconfiguredObject": "object does not exist in the system configuration", "DataUnavailable": "data currently unavailable", "PermissionDenied": "client does not have permission", "InsufficientResources": "insufficient system resources", @@ -9,6 +10,7 @@ op_mode_err_msg = { op_mode_err_code = { "UnconfiguredSubsystem": 2000, + "UnconfiguredObject": 2003, "DataUnavailable": 2001, "InsufficientResources": 2002, "PermissionDenied": 1003, |