Data Structures | Enumerations | Functions

error.h File Reference

#include <string>
#include <exception>
#include <sstream>
#include <errno.h>
#include <string.h>

Go to the source code of this file.

Data Structures

struct  Sphinx::Error_t
 Exception type thrown by Sphinx::Client_t::methods. More...
struct  Sphinx::Warning_t
 Exception type thrown by Sphinx::Client_t::methods. More...
struct  Sphinx::ServerError_t
 Exception is thrown when an search server error occured (invalid version). More...
struct  Sphinx::MessageError_t
 Exception is thrown when unable to parse response from the search server. More...
struct  Sphinx::ConnectionError_t
 Exception is thrown when an error occured during connecting to the search server. More...
struct  Sphinx::ValueTypeError_t
 Exception is thrown when a value is being read from Value_t and the expected type does not match value type. More...
struct  Sphinx::ClientUsageError_t
 Exception is thrown when a invalid combination of function calls occurs. For ex. addQuery call before initQuery call. More...

Enumerations

enum  ErrorType_t {
  Sphinx::STATUS_OK = 0, Sphinx::CONNECTION_ERROR = 1, Sphinx::SERVER_ERROR = 2, Sphinx::MESSAGE_ERROR = 3,
  Sphinx::VALUE_TYPE_ERROR = 4, Sphinx::CLIENT_USAGE_ERROR = 5
}
 

Exception modes, thrown by SphinxClient_t::methods.

More...

Functions

std::string Sphinx::strError (const char *msg, int errNo=0)

Detailed Description