SphinxClient::getLastError

(PECL sphinx >= 0.1.0)

SphinxClient::getLastErrorGet the last error message

说锟斤拷

public SphinxClient::getLastError ( void ) : string

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 the last error message or an empty string if there were no errors.