Eric Jung / GMMP_mbed_Ethernet_Reinit

Dependents:   ThingPlug_Ethernet_Example

Fork of GMMP_mbed by Eric Jung

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ErrorCode.h Source File

ErrorCode.h

Go to the documentation of this file.
00001 /** GMMP 라이브러리 에러코드
00002  * @file ErrorCode.h
00003  * @date 2013/11/21
00004  * @version 0.0.0.1
00005  **/
00006 
00007 #ifndef ERRORCODE_H_
00008 #define ERRORCODE_H_
00009 
00010 //error type define
00011 #define GMMP_SUCCESS                                        0
00012 
00013 #define GMMP_ERROR_DEFAULT                      10000
00014 #define GMMP_ERROR_UNKWOUN                  10001
00015 #define GMMP_LOG_ERROR_OPEN                     10002
00016 #define GMMP_LOG_ERROR_WRITE                    10003
00017 #define GMMP_LOG_ERROR_CLOSE                    10004
00018 #define GMMP_LOG_NO_WRITE_DATA              10005
00019 #define GMMP_LOG_LONG_STRING                    10006
00020 #define SERVER_INFO_NOT_FOUND                   10007
00021 #define SERVER_REQUEST_TIMEOUT                  10008
00022 #define SERVER_SOCKET_ERROR                     10009
00023 #define SERVER_CONNECT_ERROR                    10010
00024 #define SERVER_DISCONNECT                           10011
00025 #define LIB_PARAM_ERROR                             10012
00026 #define GMMP_MALLOC_ERROR                       10013
00027 #define GMMP_HEADER_SIZE_ERROR                  10014
00028 
00029 #define E_WOULDBLOCK                  20000
00030 
00031 #endif /* ERRORCODE_H_ */