X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Faudio%2FALError.hpp;fp=src%2Faudio%2FALError.hpp;h=973bcef0d70a45835380fb83f9efe6b619ae09c0;hb=7c2a8b8285278b8a3077b311d82f05ea0463a96e;hp=0000000000000000000000000000000000000000;hpb=0e3f96ecb9ade07a7b831078fee025aff44d44d4;p=blank.git diff --git a/src/audio/ALError.hpp b/src/audio/ALError.hpp new file mode 100644 index 0000000..973bcef --- /dev/null +++ b/src/audio/ALError.hpp @@ -0,0 +1,22 @@ +#ifndef BLANK_AUDIO_ALERROR_HPP_ +#define BLANK_AUDIO_ALERROR_HPP_ + +#include +#include +#include + + +namespace blank { + +class ALError +: public std::runtime_error { + +public: + explicit ALError(ALenum); + ALError(ALenum, const std::string &); + +}; + +} + +#endif