SphinxClient::getLastError

(PECL sphinx >= 0.1.0)

SphinxClient::getLastErrorGet the last error message

Description

public string SphinxClient::getLastError ( void )

Returns string with the last error message. If there were no errors during the previous API call, empty string is returned. This method doesn't reset the error message, so you can safely call it several times.

Parameters

This function has no parameters.

Return Values

Returns the last error message or an empty string if there were no errors.

Коментарии

Note that getLastError() doesn't work if you run multiple queries with runQueries(). It doesn't return any error, even if one or several (or all) of the queries failed.
2014-09-05 17:21:56
http://php5.kiev.ua/manual/ru/sphinxclient.getlasterror.html

    Поддержать сайт на родительском проекте КГБ