00001 /* 00002 * Copyright 2006 Sony Computer Entertainment Inc. 00003 * 00004 * Licensed under the MIT Open Source License, for details please see license.txt or the website 00005 * http://www.opensource.org/licenses/mit-license.php 00006 * 00007 */ 00008 00009 #ifndef __DAE__ERROR__ 00010 #define __DAE__ERROR__ 00011 00012 #include <dae/daePlatform.h> 00013 00015 #define DAE_OK 0 00016 00017 #define DAE_ERR_FATAL -1 00018 00019 #define DAE_ERR_INVALID_CALL -2 00020 00021 #define DAE_ERROR -3 00022 00023 #define DAE_ERR_BACKEND_IO -100 00024 00025 #define DAE_ERR_BACKEND_VALIDATION -101 00026 00027 #define DAE_ERR_BACKEND_FILE_EXISTS -102 00028 00029 #define DAE_ERR_QUERY_SYNTAX -200 00030 00031 #define DAE_ERR_QUERY_NO_MATCH -201 00032 00033 #define DAE_ERR_COLLECTION_ALREADY_EXISTS -202 00034 00035 #define DAE_ERR_COLLECTION_DOES_NOT_EXIST -203 00036 00037 #define DAE_ERR_NOT_IMPLEMENTED -1000 00038 00039 00044 DLLSPEC const char *daeErrorString(int errorCode); 00045 00046 #endif //__DAE__ERROR__