#[repr(i32)]pub enum LexActivatorError {
Show 59 variants
LA_FAIL = 1,
LA_E_FILE_PATH = 40,
LA_E_PRODUCT_FILE = 41,
LA_E_PRODUCT_DATA = 42,
LA_E_PRODUCT_ID = 43,
LA_E_SYSTEM_PERMISSION = 44,
LA_E_FILE_PERMISSION = 45,
LA_E_WMIC = 46,
LA_E_TIME = 47,
LA_E_INET = 48,
LA_E_NET_PROXY = 49,
LA_E_HOST_URL = 50,
LA_E_BUFFER_SIZE = 51,
LA_E_APP_VERSION_LENGTH = 52,
LA_E_REVOKED = 53,
LA_E_LICENSE_KEY = 54,
LA_E_LICENSE_TYPE = 55,
LA_E_OFFLINE_RESPONSE_FILE = 56,
LA_E_OFFLINE_RESPONSE_FILE_EXPIRED = 57,
LA_E_ACTIVATION_LIMIT = 58,
LA_E_ACTIVATION_NOT_FOUND = 59,
LA_E_DEACTIVATION_LIMIT = 60,
LA_E_TRIAL_NOT_ALLOWED = 61,
LA_E_TRIAL_ACTIVATION_LIMIT = 62,
LA_E_MACHINE_FINGERPRINT = 63,
LA_E_METADATA_KEY_LENGTH = 64,
LA_E_METADATA_VALUE_LENGTH = 65,
LA_E_ACTIVATION_METADATA_LIMIT = 66,
LA_E_TRIAL_ACTIVATION_METADATA_LIMIT = 67,
LA_E_METADATA_KEY_NOT_FOUND = 68,
LA_E_TIME_MODIFIED = 69,
LA_E_RELEASE_VERSION_FORMAT = 70,
LA_E_AUTHENTICATION_FAILED = 71,
LA_E_METER_ATTRIBUTE_NOT_FOUND = 72,
LA_E_METER_ATTRIBUTE_USES_LIMIT_REACHED = 73,
LA_E_CUSTOM_FINGERPRINT_LENGTH = 74,
LA_E_PRODUCT_VERSION_NOT_LINKED = 75,
LA_E_FEATURE_FLAG_NOT_FOUND = 76,
LA_E_RELEASE_VERSION_NOT_ALLOWED = 77,
LA_E_RELEASE_PLATFORM_LENGTH = 78,
LA_E_RELEASE_CHANNEL_LENGTH = 79,
LA_E_VM = 80,
LA_E_COUNTRY = 81,
LA_E_IP = 82,
LA_E_CONTAINER = 83,
LA_E_RELEASE_VERSION = 84,
LA_E_RELEASE_PLATFORM = 85,
LA_E_RELEASE_CHANNEL = 86,
LA_E_USER_NOT_AUTHENTICATED = 87,
LA_E_TWO_FACTOR_AUTHENTICATION_CODE_MISSING = 88,
LA_E_TWO_FACTOR_AUTHENTICATION_CODE_INVALID = 89,
LA_E_RATE_LIMIT = 90,
LA_E_SERVER = 91,
LA_E_CLIENT = 92,
LA_E_LOGIN_TEMPORARILY_LOCKED = 100,
LA_E_AUTHENTICATION_ID_TOKEN_INVALID = 101,
LA_E_OIDC_SSO_NOT_ENABLED = 102,
LA_E_USERS_LIMIT_REACHED = 103,
LA_E_OS_USER = 104,
}Variants§
LA_FAIL = 1
Failure code.
LA_E_FILE_PATH = 40
Invalid file path.
LA_E_PRODUCT_FILE = 41
Invalid or corrupted product file.
LA_E_PRODUCT_DATA = 42
Invalid product data.
LA_E_PRODUCT_ID = 43
The product id is incorrect.
LA_E_SYSTEM_PERMISSION = 44
Insufficient system permissions. Occurs when LA_SYSTEM flag is used but application is not run with admin privileges.
LA_E_FILE_PERMISSION = 45
No permission to write to file.
LA_E_WMIC = 46
Fingerprint couldn’t be generated because Windows Management Instrumentation (WMI) service has been disabled. This error is specific to Windows only.
LA_E_TIME = 47
The difference between the network time and the system time is more than allowed clock offset.
LA_E_INET = 48
Failed to connect to the server due to network error.
LA_E_NET_PROXY = 49
Invalid network proxy.
LA_E_HOST_URL = 50
Invalid Cryptlex host url.
LA_E_BUFFER_SIZE = 51
The buffer size was smaller than required.
LA_E_APP_VERSION_LENGTH = 52
App version length is more than 256 characters.
LA_E_REVOKED = 53
The license has been revoked.
LA_E_LICENSE_KEY = 54
Invalid license key.
LA_E_LICENSE_TYPE = 55
Invalid license type. Make sure floating license is not being used.
LA_E_OFFLINE_RESPONSE_FILE = 56
Invalid offline activation response file.
LA_E_OFFLINE_RESPONSE_FILE_EXPIRED = 57
The offline activation response has expired.
LA_E_ACTIVATION_LIMIT = 58
The license has reached it’s allowed activations limit.
LA_E_ACTIVATION_NOT_FOUND = 59
The license activation was deleted on the server.
LA_E_DEACTIVATION_LIMIT = 60
The license has reached it’s allowed deactivations limit.
LA_E_TRIAL_NOT_ALLOWED = 61
Trial not allowed for the product.
LA_E_TRIAL_ACTIVATION_LIMIT = 62
Your account has reached it’s trial activations limit.
LA_E_MACHINE_FINGERPRINT = 63
Machine fingerprint has changed since activation.
LA_E_METADATA_KEY_LENGTH = 64
Metadata key length is more than 256 characters.
LA_E_METADATA_VALUE_LENGTH = 65
Metadata value length is more than 4096 characters.
LA_E_ACTIVATION_METADATA_LIMIT = 66
The license has reached it’s metadata fields limit.
LA_E_TRIAL_ACTIVATION_METADATA_LIMIT = 67
The trial has reached it’s metadata fields limit.
LA_E_METADATA_KEY_NOT_FOUND = 68
The metadata key does not exist.
LA_E_TIME_MODIFIED = 69
The system time has been tampered (backdated).
LA_E_RELEASE_VERSION_FORMAT = 70
Invalid version format.
LA_E_AUTHENTICATION_FAILED = 71
Incorrect email or password.
LA_E_METER_ATTRIBUTE_NOT_FOUND = 72
The meter attribute does not exist.
LA_E_METER_ATTRIBUTE_USES_LIMIT_REACHED = 73
The meter attribute has reached it’s usage limit.
LA_E_CUSTOM_FINGERPRINT_LENGTH = 74
Custom device fingerprint length is less than 64 characters or more than 256 characters.
LA_E_PRODUCT_VERSION_NOT_LINKED = 75
No product version is linked with the license.
LA_E_FEATURE_FLAG_NOT_FOUND = 76
The product version feature flag does not exist.
LA_E_RELEASE_VERSION_NOT_ALLOWED = 77
The release version is not allowed.
LA_E_RELEASE_PLATFORM_LENGTH = 78
Release platform length is more than 256 characters.
LA_E_RELEASE_CHANNEL_LENGTH = 79
Release channel length is more than 256 characters.
LA_E_VM = 80
Application is being run inside a virtual machine / hypervisor, and activation has been disallowed in the VM.
LA_E_COUNTRY = 81
Country is not allowed.
LA_E_IP = 82
IP address is not allowed.
LA_E_CONTAINER = 83
Application is being run inside a container and activation has been disallowed in the container.
LA_E_RELEASE_VERSION = 84
Invalid release version. Make sure the release version uses the following formats: x.x, x.x.x, x.x.x.x (where x is a number).
LA_E_RELEASE_PLATFORM = 85
Release platform not set.
LA_E_RELEASE_CHANNEL = 86
Release channel not set.
LA_E_USER_NOT_AUTHENTICATED = 87
The user is not authenticated.
LA_E_TWO_FACTOR_AUTHENTICATION_CODE_MISSING = 88
The two-factor authentication code for the user authentication is missing.
LA_E_TWO_FACTOR_AUTHENTICATION_CODE_INVALID = 89
The two-factor authentication code provided by the user is invalid.
LA_E_RATE_LIMIT = 90
Rate limit for API has reached, try again later.
LA_E_SERVER = 91
Server error.
LA_E_CLIENT = 92
Client error.
LA_E_LOGIN_TEMPORARILY_LOCKED = 100
The user account has been temporarily locked for 5 mins due to 5 failed attempts.
LA_E_AUTHENTICATION_ID_TOKEN_INVALID = 101
Invalid authentication ID token.
LA_E_OIDC_SSO_NOT_ENABLED = 102
OIDC SSO is not enabled.
LA_E_USERS_LIMIT_REACHED = 103
The allowed users for this account has reached its limit.
LA_E_OS_USER = 104
OS user has changed since activation and the license is user-locked.
Trait Implementations§
source§impl Debug for LexActivatorError
impl Debug for LexActivatorError
source§impl Display for LexActivatorError
impl Display for LexActivatorError
source§impl From<NulError> for LexActivatorError
impl From<NulError> for LexActivatorError
source§impl From<i32> for LexActivatorError
impl From<i32> for LexActivatorError
source§impl PartialEq for LexActivatorError
impl PartialEq for LexActivatorError
source§fn eq(&self, other: &LexActivatorError) -> bool
fn eq(&self, other: &LexActivatorError) -> bool
self and other values to be equal, and is used
by ==.