Mixe for Privacy and Anonymity in the Internet
errorcodes.hpp
Go to the documentation of this file.
1 //Error constants...
2 const SINT32 E_SUCCESS=0;
3 #define E_UNKNOWN -1
4 #define E_SHUTDOWN -2 // this mix has been shut down and will not restart
5 #define E_CLOSED -3 //something which should be 'open' is in fact 'closed'
6 #define E_UNSPECIFIED -100 // A Parameter was not specified/not set
7 #define E_SPACE -101//there was not enough memory (or space in a buffer)
8 #define E_QUEUEFULL -200 // If a Send Queue contains more data then a defined number
9 #define E_AGAIN -300 //If something was'nt completed and should request again later..
10 #define E_TIMEDOUT -301 //An operation has timed out
11 #define E_SOCKETCLOSED -302 //An operation which required an open socket uses a closed socket
12 #define E_SOCKET_CREATE -307 // could not create a new socket
13 #define E_SOCKET_LISTEN -303 //An error occurred during listen
14 #define E_SOCKET_ACCEPT -304 //An error occurred during accept
15 #define E_SOCKET_BIND -305 //An error occurred during bind
16 #define E_SOCKET_LIMIT -306 //An error occurred because we run out of available sockets
17 #define E_SOCKET_CONNECT -308 //An error occurred while trying to connect from a socket
18 #define E_UNKNOWN_HOST -400 // A hostname could not be resolved
19 #define E_FILE_OPEN -500 //Error in opening a file
20 #define E_FILE_READ -501 //Error in opening a file
21 #define E_XML_PARSE -600 //Error in parsing XML
22 #define E_NOT_CONNECTED -700 //Something is not connected that should be
23  // (like a TCP/IP connection or a database connection)
24 #define E_NOT_FOUND -701 //Something was not found
25 #define E_INVALID -800 // sth is invalid (e.g. signature verifying)
26 
27 #define E_ALREADY_CONTAINED -900 //sth is already cotained in a set, e.g. a file descriptor in an epoll set
signed int SINT32
Definition: basetypedefs.h:132
const SINT32 E_SUCCESS
Definition: errorcodes.hpp:2