class ErrorMessage
package feathers.messaging.messages
extends AcknowledgeMessage › AsyncMessage › AbstractMessage
The ErrorMessage class is used to report errors within the messaging system. An error message only occurs in response to a message sent within the system.
Static variables
staticfinalread onlyMESSAGE_DELIVERY_IN_DOUBT:String = "Client.Error.DeliveryInDoubt"
If a message may not have been delivered, the faultCode
will
contain this constant.
staticfinalread onlyRETRYABLE_HINT_HEADER:String = "DSRetryableErrorHint"
Header name for the retryable hint header. This is used to indicate that the operation that generated the error may be retryable rather than fatal.
Constructor
Variables
extendedData:Any
Extended data that the remote destination has chosen to associate with this error to facilitate custom error processing on the client.
faultCode:String
The fault code for the error. This value typically follows the convention of "[outer_context].[inner_context].[issue]". For example: "Channel.Connect.Failed", "Server.Call.Failed", etc.
faultDetail:String
Detailed description of what caused the error. This is typically a stack trace from the remote destination.
rootCause:Any
Should a root cause exist for the error, this property contains those details. This may be an ErrorMessage, a NetStatusEvent info Object, or an underlying Flash error event: ErrorEvent, IOErrorEvent, or SecurityErrorEvent.