| Package | com.yahoo.webapis.upcoming.events |
| Class | public class UpcomingErrorEvent |
| Inheritance | UpcomingErrorEvent flash.events.Event |
| Property | Defined by | ||
|---|---|---|---|
| data : Object
Data
| UpcomingErrorEvent | ||
| errorType : String
Error Type
Available errorType values:
"INVALID_LOCATION" Invalid location code
"XML_LOADING" The XML file was unable to load or the path does not exist.
| UpcomingErrorEvent | ||
| success : Boolean
True if the event is the result of a successful call,
False if the call failed
| UpcomingErrorEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
UpcomingErrorEvent(type:String, inData:Object)
Constructs a new UpcomingErrorEvent
| UpcomingErrorEvent | ||
| Constant | Defined by | ||
|---|---|---|---|
| INVALID_FROB : String = "InvalidFrob" [static]
The type of event dispatched when the frob is invalid.
| UpcomingErrorEvent | ||
| XML_LOADING : String = "XMLLoading" [static]
The type of event dispatched when XML data could not be loaded from the server.
| UpcomingErrorEvent | ||
| 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_LOCATION" Invalid location code "XML_LOADING" The XML file was unable to load or the path does not exist.
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
| UpcomingErrorEvent | () | constructor |
public function UpcomingErrorEvent(type:String, inData:Object)Constructs a new UpcomingErrorEvent
Parameterstype:String — One of the event types defined by constants
|
|
inData:Object |
| INVALID_FROB | constant |
public static const INVALID_FROB:String = "InvalidFrob"The type of event dispatched when the frob is invalid.
| XML_LOADING | constant |
public static const XML_LOADING:String = "XMLLoading"The type of event dispatched when XML data could not be loaded from the server.