Declared in KiiError.h

Instance Methods

kiiErrorMessage

Error message from the server, please refer to Kii API REST documentation for the details.

- (nullable NSString *)kiiErrorMessage

Return Value

Code from cloud server or nil if it there is no error message returned from from Kii Cloud (network/ validation error, etc.).

Discussion

Error message from the server, please refer to Kii API REST documentation for the details.

This methods is equals to error.userInfo[@“server_message”].

Declared In

KiiError.h

kiiErrorSummary

Error summary returned from Kii Cloud. Please refer to Kii Cloud REST API documentation for the details.

- (nullable NSString *)kiiErrorSummary

Return Value

Error summary returned from Kii Cloud or nil if the error is not returned from Kii Cloud (network/ validation error, etc.).

Discussion

Error summary returned from Kii Cloud. Please refer to Kii Cloud REST API documentation for the details.

The corresponding field is ‘errorCode’ in the response body. This methods is equals to error.userInfo[@“server_code”].

Declared In

KiiError.h

kiiHttpStatus

HTTP response code returned from Kii Cloud, please refer to Kii API REST documentation for the details.

- (NSInteger)kiiHttpStatus

Return Value

HTTP response code from the cloud or 0 if the error is not returned from Kii Cloud (network/ validation error, etc.).

Discussion

HTTP response code returned from Kii Cloud, please refer to Kii API REST documentation for the details.

This methods is equals to error.userInfo[@“http_status”].

Declared In

KiiError.h