GoLang SphinxClient::getLastError

request it (341)
GoLang replacement for PHP's SphinxClient::getLastError [edit | history]



Do you know a GoLang replacement for PHP's SphinxClient::getLastError? Write it!

PHP SphinxClient::getLastError

PHP original manual for SphinxClient::getLastError [ show | php.net ]

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.