2021-08-06 14:22:56 +02:00
|
|
|
#ifndef BWIDGETS_SDL_ERROR_HPP
|
|
|
|
#define BWIDGETS_SDL_ERROR_HPP
|
2021-07-18 18:26:12 +02:00
|
|
|
|
|
|
|
#include <basic_widgets/core/type/exception.hpp>
|
|
|
|
|
2021-08-06 14:22:56 +02:00
|
|
|
namespace bwidgets
|
2021-07-18 18:26:12 +02:00
|
|
|
{
|
2021-08-23 23:50:14 +02:00
|
|
|
// Custom exception type for SDL errors.
|
2021-07-18 18:26:12 +02:00
|
|
|
struct SDLError final : BaseException
|
|
|
|
{
|
2021-08-13 22:00:42 +02:00
|
|
|
using BaseException::BaseException;
|
2021-07-18 18:26:12 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|