1 #ifndef RAYLIB_CPP_INCLUDE_RAYLIBEXCEPTION_HPP_
2 #define RAYLIB_CPP_INCLUDE_RAYLIBEXCEPTION_HPP_
7 #include "./raylib.hpp"
30 ::TraceLog(logLevel, std::runtime_error::what());
Exception used for most raylib-related exceptions.
RaylibException(std::string message)
Construct a runtime exception with the given message.
void TraceLog(int logLevel=LOG_ERROR)
Outputs the exception message to TraceLog().
All raylib-cpp classes and functions appear in the raylib namespace.