public class NluError extends Object
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static int |
BUSY_ERROR |
Indicates that the NLU engine was busy, for example, because the initialization method
had been called several times or an NLU method was called by multiple callers at the same time.
|
static int |
INIT_ERROR |
Indicates a failure to initialize the NLU engine before calling an NLU method.
|
static int |
INVALID_PARAM |
Indicates that input parameters were invalid during an NLU method call.
|
static String |
REQUEST_JSON_INVALID |
Indicates that
null was passed to requestJson used for NLU text parsing. |
static String |
REQUEST_TYPE_INVALID |
Indicates that the request type for an NLU method was invalid.
|
static int |
SUCCESS_RESULT |
Indicates a successful NLU method call.
|
static int |
SYSTEM_ERROR |
Indicates that an NLU method returned null because the method call had failed.
|
static int |
TIME_OUT_ERROR |
Indicates that the NLU parse result was not received within eight seconds.
|
static int |
UNKNOWN_ERROR |
Indicates that an NLU method call failed due to an unknown error.
|
public static final int BUSY_ERROR
public static final int INIT_ERROR
public static final int INVALID_PARAM
public static final String REQUEST_JSON_INVALID
null was passed to requestJson used for NLU text parsing.public static final String REQUEST_TYPE_INVALID
public static final int SUCCESS_RESULT
public static final int SYSTEM_ERROR
public static final int TIME_OUT_ERROR
public static final int UNKNOWN_ERROR