TRX/lib/glrage_gl/ProgramException.hpp
2021-11-21 22:29:01 +01:00

22 lines
351 B
C++

#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