SphinxClient::getLastError

(PECL sphinx >= 0.1.0)
Get the last error message
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.

Returns:

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

See also:

SphinxClient::getLastWarning -

doc_php
2016-02-24 16:11:56
Comments
Leave a Comment

Please login to continue.