raylib-cpp
C++ object-oriented wrapper library for raylib.
Public Member Functions | List of all members
raylib::RaylibException Class Reference

Exception used for most raylib-related exceptions. More...

Public Member Functions

 RaylibException (std::string message) throw ()
 Construct a runtime exception with the given message. More...
 
void TraceLog (int logLevel=LOG_ERROR)
 Outputs the exception message to TraceLog(). More...
 

Detailed Description

Exception used for most raylib-related exceptions.

Definition at line 13 of file RaylibException.hpp.

Constructor & Destructor Documentation

◆ RaylibException()

raylib::RaylibException::RaylibException ( std::string  message)
throw (
)
inline

Construct a runtime exception with the given message.

Parameters
messageThe message to provide for the exception.

Definition at line 20 of file RaylibException.hpp.

Member Function Documentation

◆ TraceLog()

void raylib::RaylibException::TraceLog ( int  logLevel = LOG_ERROR)
inline

Outputs the exception message to TraceLog().

Parameters
logLevelThe output status to use when outputing.

Definition at line 29 of file RaylibException.hpp.