UniMate API Reference Error Codes

From SecuTech Wiki
Jump to: navigation, search

List of Error Codes

General Error Codes

Error Code Macro Definition Description
0 S_OK Success (no issues)
-1 S_DEVICE_FAILURE No connection
-2 S_INVALID_PASSWORD Password verification failed
-3 S_DEVICE_LOCK Device locked
-4 S_NOT_ENOUGH_MEMORY Insufficient memory
-5 S_INVALID_CERTIFICATE Invalid certificate format
-6 S_INVALID_ALGORITHM Invalid algorithm
-7 S_INVALID_PARAMETER Invalid parameter
-8 S_UNKOWN_ERROR Unknown error
-9 S_USER_CANCEL Cancelled by the user