docs/web_connector/example_web_connector_oop.php
public function handleError500($requestID, $user, $action, $ID, $extra, &$err, $xml, $errnum, $errmsg)
	{
		mail('your-email@your-domain.com', 
			'QuickBooks error occured!', 
			'The following error occured: ' . $errnum . ': ' . $errmsg);
		
		// return true;			// If you return TRUE, it will continue to process requests
		return false;			// If you return FALSE, it will stop processing requests
	}
public function handleError500($requestID, $user, $action, $ID, $extra, &$err, $xml, $errnum, $errmsg)
	{
		mail('your-email@your-domain.com', 
			'QuickBooks error occured!', 
			'The following error occured: ' . $errnum . ': ' . $errmsg);
		
		// return true;			// If you return TRUE, it will continue to process requests
		return false;			// If you return FALSE, it will stop processing requests
	}
Catch and handle a 500 error from QuickBooks

@param string $requestID
@param string $action
@param mixed $ID
@param mixed $extra
@param string $err
@param string $xml
@param mixed $errnum
@param string $errmsg
@return void