1 #if !defined(_BTK_EXCEPTION_HPP_) 2 #define _BTK_EXCEPTION_HPP_ 9 typedef std::runtime_error RuntimeError;
29 enum class ThreadType{
35 std::exception_ptr ptr;
36 std::thread::id whence;
37 ThreadType thread_type;
41 [[noreturn]]
void BTKAPI throwRuntimeError(
const char *);
42 [[noreturn]]
void BTKAPI throwSDLError(
const char *);
43 [[noreturn]]
void BTKAPI throwSDLError();
45 [[noreturn]]
void BTKAPI throwBadFunctionCall();
47 [[noreturn]]
void BTKAPI throwRendererError(
const char *msg);
48 [[noreturn]]
void BTKAPI throwRendererError();
52 #endif // _BTK_EXCEPTION_HPP_ Definition: exception.hpp:22
This header include many useful containers.
Definition: async.hpp:7
Definition: exception.hpp:34
Definition: exception.hpp:16
Definition: exception.hpp:10