This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
Error Message
Service exception. Possible causes:
1. System error, such as a null pointer and container-related exception.
2. Node-API invocation exception, such as invalid Node-API status.
Description
This error code is reported if a service exception occurs when the on or off API of the userStatus module is called.
Possible Causes
The service status is abnormal.
Solution
Error Message
Subscription failed. Possible causes:
1. Callback registration failed.
2. Failed to bind the native object to the JS wrapper.
3. Node-API invocation exception, such as invalid Node-API status.
4. IPC request exception.
Description
This error code is reported if subscription fails when the on API of the userStatus module is called.
Possible Causes
Subscription to status change events has failed.
Solution
Error Message
Unsubscription failed. Possible causes:
1. Callback failure.
2. Node-API invocation exception, such as invalid Node-API status.
3. IPC request exception.
Description
This error code is reported if unsubscription fails when the off API of the userStatus module is called.
Possible Causes
Unsubscription from status change events has failed.
Solution