Packagecom.maclema.mysql.events
Classpublic class MySqlErrorEvent
InheritanceMySqlErrorEvent Inheritance flash.events.ErrorEvent

MySqlErrorEvent's are dispatched when MySql sends us an error related to connecting, authentication, or a command that was sent.



Public Properties
 PropertyDefined By
  id : int
The error code returned by MySql
MySqlErrorEvent
  msg : String
The error message returned by MySql
MySqlErrorEvent
Public Methods
 MethodDefined By
  
MySqlErrorEvent(msg:String, id:int = 0)
Constructs a new MySqlErrorEvent
MySqlErrorEvent
Public Constants
 ConstantDefined By
  SQL_ERROR : String = sqlError
[static]
MySqlErrorEvent
Property Detail
idproperty
public var id:int

The error code returned by MySql

msgproperty 
public var msg:String

The error message returned by MySql

Constructor Detail
MySqlErrorEvent()Constructor
public function MySqlErrorEvent(msg:String, id:int = 0)

Constructs a new MySqlErrorEvent

Parameters
msg:String
 
id:int (default = 0)
Constant Detail
SQL_ERRORConstant
public static const SQL_ERROR:String = sqlError