CraftAR Unity Pro SDK  1.0
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
CraftARError Class Reference

The CraftAR Error class encapsulates errors produced during recognition, item contents download or when adding ARItems. More...

Public Member Functions

 CraftARError (string errorCode, string errorMessage)
 

Public Attributes

string errorCode
 The error code. More...
 
string errorMessage
 The error message. More...
 

Static Public Attributes

static string INTERNAL_ERROR = "INTERNAL_ERROR"
 
static string AR_ITEM_ERROR = "ADD_ITEM_ERROR"
 
static string AR_ITEM_ALREADY_ADDED = "ITEM_ALREADY_ADDED"
 
static string NETWORK_ERROR = "NETWORK_ERROR"
 
static string TOKEN_IS_INVALID = "INVALID_TOKEN"
 
static string SEARCH_ERROR = "SEARCH_ERROR"
 
static string SEARCH_ERROR_IMAGE_NO_DETAILS = "SEARCH_ERROR_IMAGE_NO_DETAILS"
 
static string SEARCH_ERROR_IMAGE_HAS_TRANSPARENCY = "SEARCH_ERROR_IMAGE_HAS_TRANSPARENCY"
 
static string SEARCH_ERROR_IMAGE_TOO_SMALL = "SEARCH_ERROR_IMAGE_TOO_SMALL"
 
static string SEARCH_ERROR_IMAGE_TOO_LARGE = "SEARCH_ERROR_IMAGE_TOO_LARGE"
 
static string SEARCH_ERROR_READING_FILE = "SEARCH_ERROR_READING_FILE"
 

Detailed Description

The CraftAR Error class encapsulates errors produced during recognition, item contents download or when adding ARItems.

Member Data Documentation

◆ errorCode

string CraftARError.errorCode

The error code.

◆ errorMessage

string CraftARError.errorMessage

The error message.


The documentation for this class was generated from the following file: