AIError Class Reference

Inherits from NSObject
Declared in AIError.h

Overview

This class encapsulates the error information generated by the SDK. An AIError object includes the error code and a meaningful error message. The error code constants are available in the header file.

  code

The error code for the error encountered by the API.

@property NSUInteger code

Availability

1.0

Discussion

The error code for the error encountered by the API.

Declared In

AIError.h

  message

The readable message corresponding to the error code.

@property (copy) NSString *message

Availability

1.0

Discussion

The readable message corresponding to the error code.

Declared In

AIError.h