eLynx SDK
v3.3.0 C++ image processing API reference |
00001 //============================================================================ 00002 // CoreErrorIds.h Core.Component package 00003 //============================================================================ 00004 // Usage : define errors ids for exceptions 00005 //---------------------------------------------------------------------------- 00006 // Copyright (C) 2006 by eLynx project 00007 // 00008 // This library is free software; you can redistribute it and/or 00009 // modify it under the terms of the GNU Library General Public 00010 // License as published by the Free Software Foundation; either 00011 // version 2 of the License, or (at your option) any later version. 00012 // 00013 // This library is distributed in the hope that it will be useful, 00014 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00016 // See the GNU Library General Public License for more details. 00017 //---------------------------------------------------------------------------- 00018 #ifndef __CoreErrorIds_h__ 00019 #define __CoreErrorIds_h__ 00020 00021 #include <elx/core/CoreTypes.h> 00022 00023 namespace eLynx { 00024 00026 #define elxOK (0) 00027 00030 #define elxErrUnknown (1) 00031 00033 #define elxErrOutOfMemory (2) 00034 00036 #define elxErrDivisionByZero (3) 00037 00039 00041 #define elxErrOutOfRange (4) 00042 00044 #define elxErrInvalidContext (5) 00045 00047 #define elxErrInvalidParams (6) 00048 00050 #define elxErrOperationFailed (7) 00051 00053 #define elxErrBadCast (8) 00054 00056 #define elxErrInvalidElement (9) 00057 00059 #define elxErrMethodNotImplemented (10) 00060 00061 } // namespace eLynx 00062 00063 #endif //__CoreErrorIds_h__