| Package | com.yahoo.webapis.answers.events |
| Class | public class AnswersErrorEvent |
| Inheritance | AnswersErrorEvent flash.events.Event |
| Property | Defined by | ||
|---|---|---|---|
| data : Object
Data
| AnswersErrorEvent | ||
| errorType : String
Error Type
Available errorType values:
"INVALID_ID" Invalid Question, Category, or User ID.
| AnswersErrorEvent | ||
| success : Boolean
True if the event is the result of a successful call,
False if the call failed
| AnswersErrorEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
AnswersErrorEvent(type:String, inData:Object, inErrorType:String)
Constructs a new FlickrResultEvent
| AnswersErrorEvent | ||
| Constant | Defined by | ||
|---|---|---|---|
| ERROR_EVENT : String = "errorEvent" [static] Constant for the event types.
| AnswersErrorEvent | ||
| data | property |
data:Object [read-write]Data
Implementation public function get data():Object
public function set data(value:Object):void
| errorType | property |
errorType:String [read-write]Error Type Available errorType values: "INVALID_ID" Invalid Question, Category, or User ID. "NONEXISTANT" You are trying to access non existing comments or answers for a Question. "API_RESPONSE" The API has responded with a Error message. Usually when search parameters are incorrent. "XML_LOADING" The XML file was unable to load or the path does not exist. "NO_RESULTS" The API call yielded no results.
Implementation public function get errorType():String
public function set errorType(value:String):void
| success | property |
public var success:BooleanTrue if the event is the result of a successful call, False if the call failed
| AnswersErrorEvent | () | constructor |
public function AnswersErrorEvent(type:String, inData:Object, inErrorType:String)Constructs a new FlickrResultEvent
Parameterstype:String |
|
inData:Object |
|
inErrorType:String |
| ERROR_EVENT | constant |
public static const ERROR_EVENT:String = "errorEvent"Constant for the event types.