Updated on 2024-07-30 GMT+08:00

Obtaining an Error Message

getErrorMessage

API Description

This API is used to obtain an error message.

Precautions

  1. This API is a synchronous API. The return value only indicates whether the API is successfully called.

Method Definition

1
- (NSString *)getErrorMessage:(NSUInteger)code;

Parameter Description

Table 1 Parameter description

Parameter

Mandatory

Type

Description

code

Yes

NSUInteger

Error code.

Return Values

None

Sample Code
1
NSString *msg = [[HWMBizSdk getBizOpenApi] getErrorMessage:errorCode];