TRX/lib/glrage_gl/ShaderException.hpp

21 lines
338 B
C++
Raw Normal View History

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