The Fault class represents a fault in a remote procedure call (RPC) service invocation.

Constructor

@:value({ faultDetail : null })new(faultCode:String, faultString:String, ?faultDetail:String)

Creates a new Fault object.

Parameters:

faultCode

A simple code describing the fault.

faultString

Text description of the fault.

faultDetail

Additional details describing the fault.

Variables

content:Dynamic

The raw content of the fault (if available), such as an HTTP response body.

@:flash.propertyread onlyfaultCode:String

A simple code describing the fault.

@:flash.propertyread onlyfaultDetail:String

Any extra details of the fault.

@:flash.propertyread onlyfaultString:String

Text description of the fault.

rootCause:Dynamic

The cause of the fault. The value will be null if the cause is unknown or whether this fault represents the root itself.

Methods

toString():String

Returns the string representation of a Fault object.

Returns:

Returns the string representation of a Fault object.