Packagecom.adobe.csxs.error
Classpublic class RequestError
InheritanceRequestError Inheritance CSXSError Inheritance Error

Defines errors in the context of requests posted against PlugPlug.



Public Properties
 PropertyDefined by
 InheritedplugplugStatus : String = "null"
The error code returned from PlugPlug.
CSXSError
Public Methods
 MethodDefined by
  
RequestError(message:String = "", id:int = 0)
Creates the error object.
RequestError
Public Constants
 ConstantDefined by
 InheritedGENERIC_ERROR : int = 1
[static] Error ID for generic errors.
CSXSError
  REQUEST_FAILED : int = 1000
[static] Error ID for failed requests.
RequestError
  RESPONSE_INCOMPLETE : int = 1010
[static] Error ID for incomplete responses.
RequestError
Constructor detail
RequestError()constructor
public function RequestError(message:String = "", id:int = 0)

Creates the error object.

Parameters
message:String (default = "") — The error message.
 
id:int (default = 0) — The error id.
Constant detail
REQUEST_FAILEDconstant
public static const REQUEST_FAILED:int = 1000

Error ID for failed requests.

RESPONSE_INCOMPLETEconstant 
public static const RESPONSE_INCOMPLETE:int = 1010

Error ID for incomplete responses.