Skip to content

Commit

Permalink
feat: add status codes
Browse files Browse the repository at this point in the history
  • Loading branch information
muneebkq committed Jul 31, 2024
1 parent 1cd54fc commit 0a0b60d
Showing 1 changed file with 45 additions and 29 deletions.
74 changes: 45 additions & 29 deletions cryptlex/lexfloatclient/lexfloatstatus_codes.py
Original file line number Diff line number Diff line change
@@ -1,59 +1,75 @@
class LexFloatStatusCodes:

LF_OK = 0
LF_OK: 0

LF_FAIL = 1
LF_FAIL: 1

LF_E_PRODUCT_ID = 40
LF_E_PRODUCT_ID: 40

LF_E_CALLBACK = 41
LF_E_CALLBACK: 41

LF_E_HOST_URL = 42
LF_E_HOST_URL: 42

LF_E_TIME = 43
LF_E_TIME: 43

LF_E_INET = 44
LF_E_INET: 44

LF_E_NO_LICENSE = 45
LF_E_NO_LICENSE: 45

LF_E_LICENSE_EXISTS = 46
LF_E_LICENSE_EXISTS: 46

LF_E_LICENSE_NOT_FOUND = 47
LF_E_LICENSE_NOT_FOUND: 47

LF_E_LICENSE_EXPIRED_INET = 48
LF_E_LICENSE_EXPIRED_INET: 48

LF_E_LICENSE_LIMIT_REACHED = 49
LF_E_LICENSE_LIMIT_REACHED: 49

LF_E_BUFFER_SIZE = 50
LF_E_BUFFER_SIZE: 50

LF_E_METADATA_KEY_NOT_FOUND = 51
LF_E_METADATA_KEY_NOT_FOUND: 51

LF_E_METADATA_KEY_LENGTH = 52
LF_E_METADATA_KEY_LENGTH: 52

LF_E_METADATA_VALUE_LENGTH = 53
LF_E_METADATA_VALUE_LENGTH: 53

LF_E_FLOATING_CLIENT_METADATA_LIMIT = 54
LF_E_FLOATING_CLIENT_METADATA_LIMIT: 54

LF_E_METER_ATTRIBUTE_NOT_FOUND = 55
LF_E_METER_ATTRIBUTE_NOT_FOUND: 55

LF_E_METER_ATTRIBUTE_USES_LIMIT_REACHED = 56
LF_E_METER_ATTRIBUTE_USES_LIMIT_REACHED: 56

LF_E_PRODUCT_VERSION_NOT_LINKED = 57
LF_E_PRODUCT_VERSION_NOT_LINKED: 57

LF_E_FEATURE_FLAG_NOT_FOUND = 58
LF_E_FEATURE_FLAG_NOT_FOUND: 58

LF_E_IP = 60
LF_E_SYSTEM_PERMISSION: 59

LF_E_CLIENT = 70
LF_E_IP: 60

LF_E_SERVER = 71
LF_E_INVALID_PERMISSION_FLAG: 61

LF_E_SERVER_TIME_MODIFIED = 72
LF_E_OFFLINE_FLOATING_LICENSE_NOT_ALLOWED: 62

LF_E_SERVER_LICENSE_NOT_ACTIVATED = 73
LF_E_MAX_OFFLINE_LEASE_DURATION_EXCEEDED: 63

LF_E_SERVER_LICENSE_EXPIRED = 74
LF_E_ALLOWED_OFFLINE_FLOATING_CLIENTS_LIMIT_REACHED: 64

LF_E_SERVER_LICENSE_SUSPENDED = 75
LF_E_WMIC: 65

LF_E_SERVER_LICENSE_GRACE_PERIOD_OVER = 76
LF_E_MACHINE_FINGERPRINT: 66

LF_E_PROXY_NOT_TRUSTED: 67

LF_E_CLIENT: 70

LF_E_SERVER: 71

LF_E_SERVER_TIME_MODIFIED: 72

LF_E_SERVER_LICENSE_NOT_ACTIVATED: 73

LF_E_SERVER_LICENSE_EXPIRED: 74

LF_E_SERVER_LICENSE_SUSPENDED: 75

LF_E_SERVER_LICENSE_GRACE_PERIOD_OVER: 76

0 comments on commit 0a0b60d

Please sign in to comment.