Fix error: no matching function for call to ‘search::Client::__CheckError()’