00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00024 #ifndef __ze_error_h__
00025 #define __ze_error_h__
00026 
00027 #include "ZE_Includes.h"
00028 
00029 namespace ZE
00030 {
00031 
00032 
00034 
00036 
00046 string _GetError(int line, string file, string str);
00047 
00056 void _LogError(int line, string file, string str);
00057 
00067 string FormatStr(const char *fmtstr, ...);
00068 
00072 #define GetError(str) _GetError(__LINE__,__FILE__,str)
00073 
00077 #define LogError(str) _LogError(__LINE__,__FILE__,str)
00078 
00079 }
00080 
00081 #endif //__ze_error_h__