Help Center/
Meeting/
Client SDK Reference/
macOS SDK/
APIs/
UI Customization/
Obtaining an Error Message
Updated on 2024-07-30 GMT+08:00
Obtaining an Error Message
getErrorMessage
API Description
This API is used to obtain an error message using an error code.
Method Definition
1
|
- (NSString *)getErrorMessage:(NSUInteger)code; |
Parameter Description
Parameter |
Type |
Description |
---|---|---|
code |
NSUInteger |
Error code. |
Return Values
Type |
Description |
---|---|
NSString * |
Error message. |
Sample Code
1 2 3 |
- (void)setError:(NSError *)error { NSString *errorTips = [[HWMBizSdk getBizOpenApi] getErrorMessage:error.code]; } |
Parent topic: UI Customization
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot