mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-05-13 14:07:08 +03:00
22 lines
351 B
C++
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
|