 		 * @param	iqCallback The function to be called when the server responds to the IQ
 		 * @param	iqCallbackScope The object instance containing the callback method
 		 */
-		public function IQ( recipient:EscapedJID = null, iqType:String = null, iqID:String = null, iqCallback:String = null, iqCallbackScope:Object = null, iqCallbackFunc:Function = null )
+		public function IQ( recipient:EscapedJID = null, iqType:String = null, iqID:String = null, iqCallback:String = null, iqCallbackScope:Object = null, iqCallbackFunc:Function = null, iqErrorCallback:Function = null )
 		{
 			var id:String = exists( iqID ) ? iqID : generateID( "iq_" );
 

			callbackName = iqCallback;
			callbackScope = iqCallbackScope;
			callback = iqCallbackFunc;
		}

		/**

		{
			myCallback = value;
		}
		
		/**
		 * 
		 */
		public function get errorCallback():Function
		{
			return myErrorCallbackFunc;
		}
		public function set errorCallback( value:Function ):void
		{
			myErrorCallbackFunc = value;
		}
 
		/**
		 * The scope of the callback function to call when a response to the IQ
		 * is received. This isn't a required property, but is useful if you
