glcxx: A Modern C++ Interface to OpenGL Object Management
Public Member Functions | List of all members
glcxx::Error Class Reference

Exception class for glcxx errors. More...

#include <Error.hpp>

Inheritance diagram for glcxx::Error:
Inheritance graph
[legend]
Collaboration diagram for glcxx::Error:
Collaboration graph
[legend]

Public Member Functions

 Error (const std::string &msg)
 Construct an Error instance. More...
 

Detailed Description

Exception class for glcxx errors.

An instance of this class might be thrown if an OpenGL object cannot be allocated or another glcxx error condition arises.

Constructor & Destructor Documentation

glcxx::Error::Error ( const std::string &  msg)
inline

Construct an Error instance.

Parameters
msgThe exception message.

The documentation for this class was generated from the following file: