summaryrefslogtreecommitdiff
path: root/wrappers/python/eduvpncommon/discovery.py
diff options
context:
space:
mode:
Diffstat (limited to 'wrappers/python/eduvpncommon/discovery.py')
-rw-r--r--wrappers/python/eduvpncommon/discovery.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/wrappers/python/eduvpncommon/discovery.py b/wrappers/python/eduvpncommon/discovery.py
index b30368b..154d007 100644
--- a/wrappers/python/eduvpncommon/discovery.py
+++ b/wrappers/python/eduvpncommon/discovery.py
@@ -43,6 +43,7 @@ class RequestError(GoError):
{
RequestErrorCode.ErrRequestFileError: "file request error",
RequestErrorCode.ErrVerifySigError: "signature verify error",
+ RequestErrorCode.Unknown: "unknown error",
})
@@ -61,6 +62,7 @@ class VerifyError(GoError):
VerifyErrorCode.ErrInvalidSignature: "invalid signature",
VerifyErrorCode.ErrInvalidSignatureUnknownKey: "invalid signature (unknown key)",
VerifyErrorCode.ErrTooOld: "replay of previous signature (rollback)",
+ VerifyErrorCode.Unknown: "unknown error",
})