mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-05-13 05:57:10 +03:00
20 lines
338 B
C++
20 lines
338 B
C++
#pragma once
|
|
|
|
#include <stdexcept>
|
|
|
|
namespace glrage {
|
|
namespace gl {
|
|
|
|
class ShaderException : public std::runtime_error
|
|
{
|
|
public:
|
|
ShaderException(const std::string& msg)
|
|
: std::runtime_error(msg)
|
|
{}
|
|
ShaderException(const char* msg)
|
|
: std::runtime_error(msg)
|
|
{}
|
|
};
|
|
|
|
} // namespace gl
|
|
} // namespace glrage
|