]> git.tdb.fi Git - libs/gl.git/blobdiff - source/error.h
Add vertex arrays and buffers
[libs/gl.git] / source / error.h
diff --git a/source/error.h b/source/error.h
new file mode 100644 (file)
index 0000000..8ead50d
--- /dev/null
@@ -0,0 +1,19 @@
+#ifndef MSP_GL_ERROR_H_
+#define MSP_GL_ERROR_H_
+
+#include <msp/core/error.h>
+
+namespace Msp {
+namespace GL {
+
+class InvalidOperation: public Exception
+{
+public:
+       InvalidOperation(const std::string &w_): Exception(w_) { }
+       ~InvalidOperation() throw() { }
+};
+
+} // namespace GL
+} // namespace Msp
+
+#endif