Skip to content

Commit

Permalink
add: error code 67
Browse files Browse the repository at this point in the history
  • Loading branch information
muneebkq committed Aug 6, 2024
1 parent fd79356 commit 0cb9609
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cryptlex/lexfloatclient/lexfloatclient_exception.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,6 @@ def get_error_message(code):
return "Fingerprint couldn't be generated because Windows Management Instrumentation (WMI) service has been disabled. This error is specific to Windows only."
if code == LexFloatStatusCodes.LF_E_MACHINE_FINGERPRINT:
return 'Machine fingerprint has changed since activation.'
if code == LexFloatStatusCodes.LF_E_PROXY_NOT_TRUSTED:
return 'Request blocked due to untrusted proxy.'
return 'Unknown error!'
2 changes: 2 additions & 0 deletions cryptlex/lexfloatclient/lexfloatstatus_codes.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ class LexFloatStatusCodes:

LF_E_MACHINE_FINGERPRINT = 66

LF_E_PROXY_NOT_TRUSTED = 67

LF_E_CLIENT = 70

LF_E_SERVER = 71
Expand Down

0 comments on commit 0cb9609

Please sign in to comment.