[Git][NTPsec/ntpsec][master] Added response error codes
Ian Bruene
gitlab at mg.gitlab.com
Thu Jul 13 00:55:51 UTC 2017
Ian Bruene pushed to branch master at NTPsec / ntpsec
Commits:
e752e68c by Ian Bruene at 2017-07-12T15:13:44-05:00
Added response error codes
- - - - -
1 changed file:
- pylib/agentx.py
Changes:
=====================================
pylib/agentx.py
=====================================
--- a/pylib/agentx.py
+++ b/pylib/agentx.py
@@ -706,3 +706,17 @@ RSN_SHUTDOWN = 5
RSN_BY_MANAGER = 6
definedReasons = (RSN_OTHER, RSN_PARSE_ERROR, RSN_PROTOCOL_ERROR,
RSN_TIMEOUT, RSN_SHUTDOWN, RSN_BY_MANAGER)
+
+# Error reasons
+ERR_NOERROR = 0
+ERR_GENERR = 5
+ERR_NO_ACCESS = 6
+ERR_WRONG_TYPE = 7
+ERR_WRONG_LEN = 8
+ERR_WRONG_ENCODING = 9
+ERR_WRONG_VALUE = 10
+ERR_NO_CREATION = 11
+ERR_INCONSISTENT_VALUE = 12
+ERR_RESOURCE_UNAVAILABLE = 13
+ERR_NOT_WRITABLE = 17
+ERR_INCONSISTENT_NAME = 18
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/e752e68ccc63baa2be8996e6d3c3c877970dae73
---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/e752e68ccc63baa2be8996e6d3c3c877970dae73
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170713/794c9455/attachment.html>
More information about the vc
mailing list