QuickBooks/WebConnector/Handlers.php
public function connectionError($obj)
	{
		//$this->_driver->log('connectionErrorXML()', $obj->ticket, QUICKBOOKS_LOG_VERBOSE);
		$this->_log('connectionErrorXML()', $obj->ticket, QUICKBOOKS_LOG_VERBOSE);

		if ($this->_driver->authCheck($obj->ticket))
		{
			$user = $this->_driver->authResolve($obj->ticket);

			$hookdata = array(
				'username' => $user,
				'ticket' => $obj->ticket,
				'hresult' => $obj->hresult,
				'message' => $obj->message,
				);
			$hookerr = '';
			$this->_callHook($obj->ticket, QUICKBOOKS_HANDLERS_HOOK_CONNECTIONERROR, null, null, null, null, $hookerr, null, array(), $hookdata);

			$err = '';
			$this->_handleError($obj->ticket, $obj->hresult, $obj->message, null, null, null, null, $err, null);

			return new QuickBooks_WebConnector_Result_ConnectionError('done');
		}

		return new QuickBooks_WebConnector_Result_ConnectionError('done');
	}
public function connectionError($obj)
	{
		//$this->_driver->log('connectionErrorXML()', $obj->ticket, QUICKBOOKS_LOG_VERBOSE);
		$this->_log('connectionErrorXML()', $obj->ticket, QUICKBOOKS_LOG_VERBOSE);

		if ($this->_driver->authCheck($obj->ticket))
		{
			$user = $this->_driver->authResolve($obj->ticket);

			$hookdata = array(
				'username' => $user,
				'ticket' => $obj->ticket,
				'hresult' => $obj->hresult,
				'message' => $obj->message,
				);
			$hookerr = '';
			$this->_callHook($obj->ticket, QUICKBOOKS_HANDLERS_HOOK_CONNECTIONERROR, null, null, null, null, $hookerr, null, array(), $hookdata);

			$err = '';
			$this->_handleError($obj->ticket, $obj->hresult, $obj->message, null, null, null, null, $err, null);

			return new QuickBooks_WebConnector_Result_ConnectionError('done');
		}

		return new QuickBooks_WebConnector_Result_ConnectionError('done');
	}
QuickBooks Web Connector ->connectionError() SOAP method

The stdClass object passed in as a parameter has these members:
- ->ticket 		The ticket string
- ->hresult		An error code
- ->message 	An error message from QuickBooks/QBWC

The following user-defined hooks are invoked:
- QUICKBOOKS_HANDLERS_HOOK_CONNECTIONERROR

@param stdClass $obj
@return QuickBooks_Result_ConnectionError