moGL  travis-test-3
Modern OpenGL wrapper, thin C++14 header-only layer on top of the OpenGL 4.5+ core spec
exception/shaderexception.hpp
Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 #ifndef MOGL_SHADEREXCEPTION_INCLUDED
00012 #define MOGL_SHADEREXCEPTION_INCLUDED
00013 
00014 #include <mogl/exception/moglexception.hpp>
00015 
00016 namespace mogl
00017 {
00018     class ShaderException : public MoGLException
00019     {
00020     public:
00021         explicit ShaderException(const std::string& message) : MoGLException("Shader::" + message) {}
00022         virtual ~ShaderException() {}
00023     };
00024 }
00025 
00026 #endif // MOGL_SHADEREXCEPTION_INCLUDED
 All Classes Namespaces Files Functions Variables Defines