 
 			bindIQ.callback = handleBindResponse;
 			bindIQ.callbackScope = this;
+			bindIQ.errorCallback = handleBindError;
 
 			send(bindIQ);
 		}


			sessionIQ.callback = handleSessionResponse;
			sessionIQ.callbackScope = this;

			send(sessionIQ);
		}

				if ( o is IQ )
				{
					var iq:IQ = o as IQ;
					if ((iq.callbackName != null && iq.callbackScope != null) || iq.callback != null || iq.errorCallback != null)
					{
						addIQCallbackToPending( iq.id, iq.callbackName, iq.callbackScope, iq.callback, iq.errorCallback );
					}
				}
				var root:XMLNode = o.getNode().parentNode;
