12 #ifndef XPACE_EXCEPTION_C_H 13 #define XPACE_EXCEPTION_C_H 33 (
const std::exception& ex);
45 (
const String&
templ = String())
60 const Exception xpace_ex;
62 const
std::exception std_ex;
69 (const
Xpace::Exception& ex);
71 (const
std::exception& ex =
std::bad_alloc());
108 #define CALL_CATCH(x) \ 113 catch (Xpace::Exception& ex) \ 115 return Xpace_Error_create(ex); \ 117 catch (std::exception& ex) \ 119 return Xpace_Error_create_std(ex); \ 121 return Xpace_Error_None;
A string, Unicode UTF-16 and reference-counted.
XPACE_C_EXPORT(Xpace_Error) Xpace_Error_copy(Xpace_Error)
Get to the error that cause this one (if any)
const Xpace_Char16 * templ
Xpace_Error Xpace_Error_None
Xpace project main namespace