| Package | com.yahoo.webapis.search.events |
| Class | public class SearchFaultEvent |
| Inheritance | SearchFaultEvent flash.events.Event |
| Property | Defined by | ||
|---|---|---|---|
| fault : ServiceFault
Fault
| SearchFaultEvent | ||
| success : Boolean
True if the event is the result of a successful call,
False if the call failed
| SearchFaultEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
SearchFaultEvent(type:String, fault:ServiceFault = null)
Constructs a new ErrorEvent
| SearchFaultEvent | ||
| Constant | Defined by | ||
|---|---|---|---|
| API_RESPONSE : String = "API Response" [static]
| SearchFaultEvent | ||
| ERROR_EVENT : String = "ErrorEvent" [static]
| SearchFaultEvent | ||
| FAULT : String = "fault" [static] Constant for the event types.
| SearchFaultEvent | ||
| NO_RESULTS : String = "No Results" [static]
| SearchFaultEvent | ||
| XML_LOADING : String = "XML Loading" [static]
| SearchFaultEvent | ||
| fault | property |
fault:ServiceFault [read-write]Fault
Implementation public function get fault():ServiceFault
public function set fault(value:ServiceFault):void
| success | property |
public var success:BooleanTrue if the event is the result of a successful call, False if the call failed
| SearchFaultEvent | () | constructor |
public function SearchFaultEvent(type:String, fault:ServiceFault = null)Constructs a new ErrorEvent
Parameterstype:String |
|
fault:ServiceFault (default = null) |
| API_RESPONSE | constant |
public static const API_RESPONSE:String = "API Response"
| ERROR_EVENT | constant |
public static const ERROR_EVENT:String = "ErrorEvent"
| FAULT | constant |
public static const FAULT:String = "fault"Constant for the event types.
| NO_RESULTS | constant |
public static const NO_RESULTS:String = "No Results"
| XML_LOADING | constant |
public static const XML_LOADING:String = "XML Loading"