1#ifndef RAYLIB_CPP_INCLUDE_RAYLIBEXCEPTION_HPP_
2#define RAYLIB_CPP_INCLUDE_RAYLIBEXCEPTION_HPP_
20 explicit RaylibException(
const std::string& message) noexcept : std::runtime_error(message) {
Exception used for most raylib-related exceptions.
void TraceLog(int logLevel=LOG_ERROR)
Outputs the exception message to TraceLog().
RaylibException(const std::string &message) noexcept
Construct a runtime exception with the given message.
All raylib-cpp classes and functions appear in the raylib namespace.