TRX/lib/glrage_gl/ProgramException.hpp

23 lines
351 B
C++
Raw Normal View History

2021-11-12 20:03:04 +01:00
#pragma once
#include <stdexcept>
namespace glrage {
namespace gl {
class ProgramException : public std::runtime_error
{
public:
ProgramException(const std::string& msg)
: std::runtime_error(msg)
{
}
ProgramException(const char* msg)
: std::runtime_error(msg)
{
}
};
} // namespace gl
} // namespace glrage