![]() |
ImFusion C++ SDK 4.5.0
|
#include <ImFusion/Core/GL/Debug.h>
Specialization of std::runtime_error that also stores the original OpenGL error code. More...
Specialization of std::runtime_error that also stores the original OpenGL error code.
Public Member Functions | |
| OpenGlException (const std::string &message, Error glErrorCode) | |
| Constructs a new OpenGlException with the given message and OpenGL error code. | |
| bool | isCritical () const |
| Returns true if glErrorCode is either Error::StackUnderflow or Error::StackOverflow. | |
| bool | isFatal () const |
| Returns true if glErrorCode is Error::OutOfMemory. | |
| Public Member Functions inherited from std::runtime_error | |
| T | runtime_error (T... args) |
| T | what (T... args) |
| Public Member Functions inherited from std::exception | |
| T | exception (T... args) |
| T | operator= (T... args) |
| T | what (T... args) |
| T | ~exception (T... args) |
Public Attributes | |
| Error | glErrorCode |
| original OpenGL error code | |