6 #include "core/except.h"
10 class context_error final
: public al::base_exception
{
15 [[gnu::format(__MINGW_PRINTF_FORMAT
, 3, 4)]]
17 [[gnu::format(printf
, 3, 4)]]
19 context_error(ALenum code
, const char *msg
, ...);
20 ~context_error() final
;
22 [[nodiscard
]] auto errorCode() const noexcept
-> ALenum
{ return mErrorCode
; }
27 #endif /* AL_ERROR_H */