![]() |
ImFusion C++ SDK 4.5.0
|
#include <ImFusion/Licensing/LicensingError.h>
Class for signaling all kinds of licensing error cases. More...
Class for signaling all kinds of licensing error cases.
Public Types | |
| enum class | ErrorCode { UnknownError , NetworkError , ServerError , InternalError , FilesystemError , InvalidOrMissingLicenseFile , InvalidDevice , LicenseDisabled , LicenseDepleted , LicenseInvalid , NotSupported , MaxFloatingReached , FloatingTimeoutExpired , MaintenancePeriodExpired } |
Public Member Functions | |
| Error (ErrorCode code=ErrorCode::UnknownError, std::string s="") | |
Public Attributes | |
| const ErrorCode | errorCode |
| const std::string | message |
|
strong |
| Enumerator | |
|---|---|
| NetworkError | Could not reach server due to circumstances beyond our control. |
| ServerError | Error inside the LicenseSpring server, i.e. they screwed up. |
| InternalError | Error inside client code, i.e. we screwed up. |
| FilesystemError | Unable to read/write user supplied path. |
| InvalidOrMissingLicenseFile | Local license information cannot be read or is wrong. |
| InvalidDevice | Detected VM without allowing those, or explicitly blacklisted device. |
| LicenseDisabled | License expired or was otherwise disabled. |
| LicenseDepleted | No more activations, consumptions, floating licenses, etc left. |
| LicenseInvalid | No such license at all. |
| NotSupported | If the licensing system does not support a certain functionality (e.g. offline usage). |
| MaxFloatingReached | Reached max users count for floating license. |
| FloatingTimeoutExpired | Floating timeout expired. |
| MaintenancePeriodExpired | The application was released after the maintenance period of the license ended. |