EmaiErrors.h File ReferenceResult codes, used at the library. More...
#include <EmaiTypes.h>
Go to the source code of this file.
|
Typedefs |
typedef EmaiSint32 | EmaiError |
| Error codes.
|
Enumerations |
enum | EmaiEnumResultCodes {
EmaiErrNoErr = 0,
EmaiErrConnectFailed = -1,
EmaiErrConnectUnconfirmed = -2,
EmaiErrInterruptedByUser = -5,
EmaiErrConnectionReset = -6,
EmaiErrCommandFailed = -7,
EmaiErrCommandNotSupported = -8,
EmaiErrUnknown = -9,
EmaiErrSslHandshakeFailed = -28,
EmaiErrIncorrectParameter = -30,
EmaiErrInvalidRegData = -31,
EmaiErrAlreadyConnected = -32,
EmaiErrNotConnected = -33,
EmaiErrNoSuchField = -35,
EmaiErrNoFromField = EmaiErrNoSuchField,
EmaiErrNoToField = -36,
EmaiErrTimeout = -37,
EmaiErrAddrInvalid = -40,
EmaiErrFileNotFound = -42,
EmaiErrFileIO = -43,
EmaiErrSubListNotEvaluted = -46,
EmaiErrCallNotInContext = -50,
EmaiErrChartset = -51
} |
Detailed Description
Result codes, used at the library.
- Version:
- Mailit for C/C++ 1.0
- Author:
- (C) 2008 Dacons LLP.
Definition in file EmaiErrors.h.
Enumeration Type Documentation
- Enumerator:
-
EmaiErrNoErr |
Operation successfully completed |
EmaiErrConnectFailed |
Cannot establish connection to the server |
EmaiErrConnectUnconfirmed |
was established |
EmaiErrInterruptedByUser |
Connection was interrupted by user |
EmaiErrConnectionReset |
A network error occured |
EmaiErrCommandFailed |
Server rejected the command |
EmaiErrCommandNotSupported |
Server doesn't support the command |
EmaiErrUnknown |
Unexpected internal error |
EmaiErrSslHandshakeFailed |
Cannot switch into secured mode |
EmaiErrIncorrectParameter |
Function parameter is invalid |
EmaiErrInvalidRegData |
Invalid registration data |
EmaiErrAlreadyConnected |
The session is already connected to server |
EmaiErrNotConnected |
The session is not connected to server |
EmaiErrNoSuchField |
The field doesn't exist in message header |
EmaiErrNoFromField |
|
EmaiErrNoToField |
|
EmaiErrTimeout |
Connection is timed out |
EmaiErrAddrInvalid |
Server address is invalid |
EmaiErrFileNotFound |
The specified file cannot be found |
EmaiErrFileIO |
An error occured while reading or writing the specified file |
EmaiErrSubListNotEvaluted |
trying to work with the sublist |
EmaiErrCallNotInContext |
Function which sends command on server was called from session callback |
EmaiErrChartset |
is specified for the corresponding function |
Definition at line 27 of file EmaiErrors.h. 00028 {
00030 EmaiErrNoErr = 0,
00031
00033 EmaiErrConnectFailed = -1,
00034
00037 EmaiErrConnectUnconfirmed = -2,
00038
00040 EmaiErrInterruptedByUser = -5,
00041
00043 EmaiErrConnectionReset = -6,
00044
00046 EmaiErrCommandFailed = -7,
00047
00049 EmaiErrCommandNotSupported = -8,
00050
00052 EmaiErrUnknown = -9,
00053
00055 EmaiErrSslHandshakeFailed = -28,
00056
00058 EmaiErrIncorrectParameter = -30,
00059
00061 EmaiErrInvalidRegData = -31,
00062
00064 EmaiErrAlreadyConnected = -32,
00065
00067 EmaiErrNotConnected = -33,
00068
00070 EmaiErrNoSuchField = -35,
00071 EmaiErrNoFromField = EmaiErrNoSuchField,
00072 EmaiErrNoToField = -36,
00073
00075 EmaiErrTimeout = -37,
00076
00078 EmaiErrAddrInvalid = -40,
00079
00081 EmaiErrFileNotFound = -42,
00082
00084 EmaiErrFileIO = -43,
00085
00088 EmaiErrSubListNotEvaluted = -46,
00089
00091 EmaiErrCallNotInContext = -50,
00092
00100 EmaiErrChartset = -51
00101 };
|