-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add status code #16
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ package lexfloatclient | |
|
||
// int enumeration from lexfloatclient/int.h int =4 | ||
const ( | ||
// Success code. | ||
// Success code. | ||
LF_OK int = 0 | ||
|
||
// Failure code. | ||
|
@@ -32,12 +32,12 @@ const ( | |
LF_E_LICENSE_EXISTS int = 46 | ||
|
||
// License does not exist on server or has already expired. This | ||
// happens when the request to refresh the license is delayed. | ||
// happens when the request to refresh the license is delayed. | ||
LF_E_LICENSE_NOT_FOUND int = 47 | ||
|
||
// License lease has expired due to network error. This | ||
// happens when the request to refresh the license fails due to | ||
// network error. | ||
// happens when the request to refresh the license fails due to | ||
// network error. | ||
LF_E_LICENSE_EXPIRED_INET int = 48 | ||
|
||
// The server has reached it's allowed limit of floating licenses. | ||
|
@@ -65,22 +65,48 @@ const ( | |
LF_E_METER_ATTRIBUTE_USES_LIMIT_REACHED int = 56 | ||
|
||
// No product version is linked with the license. | ||
LF_E_PRODUCT_VERSION_NOT_LINKED int = 57 | ||
LF_E_PRODUCT_VERSION_NOT_LINKED int = 57 | ||
|
||
// The product version feature flag does not exist. | ||
LF_E_FEATURE_FLAG_NOT_FOUND int = 58 | ||
// The product version feature flag does not exist. | ||
LF_E_FEATURE_FLAG_NOT_FOUND int = 58 | ||
|
||
// Insufficient system permissions. | ||
LF_E_SYSTEM_PERMISSION int = 59 | ||
|
||
// IP address is not allowed. | ||
LF_E_IP int = 60 | ||
|
||
// Invalid permission flag. | ||
LF_E_INVALID_PERMISSION_FLAG int = 61 | ||
|
||
// Offline floating license is not allowed for per-instance leasing strategy. | ||
LF_E_OFFLINE_FLOATING_LICENSE_NOT_ALLOWED int = 62 | ||
|
||
// Maximum offline lease duration exceeded. | ||
LF_E_MAX_OFFLINE_LEASE_DURATION_EXCEEDED int = 63 | ||
|
||
// Allowed offline floating clients limit reached. | ||
LF_E_ALLOWED_OFFLINE_FLOATING_CLIENTS_LIMIT_REACHED int = 64 | ||
|
||
// Fingerprint couldn't be generated because Windows Management | ||
// Instrumentation (WMI) service has been disabled. This error is specific | ||
// to Windows only. | ||
LF_E_WMIC int = 65 | ||
|
||
// Machine fingerprint has changed since activation. | ||
LF_E_MACHINE_FINGERPRINT int = 66 | ||
|
||
// Request blocked due to untrusted proxy. | ||
LF_E_PROXY_NOT_TRUSTED int = 67 | ||
|
||
// Client error. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. add 67 error code as well |
||
LF_E_CLIENT int = 70 | ||
|
||
// Server error. | ||
LF_E_SERVER int = 71 | ||
|
||
// System time on server has been tampered with. Ensure | ||
// your date and time settings are correct on the server machine. | ||
// your date and time settings are correct on the server machine. | ||
LF_E_SERVER_TIME_MODIFIED int = 72 | ||
|
||
// The server has not been activated using a license key. | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add 67 error code as well