diff options
Diffstat (limited to 'al/effects/effects.h')
-rw-r--r-- | al/effects/effects.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/al/effects/effects.h b/al/effects/effects.h index 1850271b..47b089ba 100644 --- a/al/effects/effects.h +++ b/al/effects/effects.h @@ -9,9 +9,13 @@ union EffectProps; class effect_exception final : public al::base_exception { + ALenum mErrorCode; + public: [[gnu::format(printf, 3, 4)]] effect_exception(ALenum code, const char *msg, ...); + + ALenum errorCode() const noexcept { return mErrorCode; } }; |