Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
WindowError.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <stdexcept>
4#include <string>
5
7
11class WindowError : public std::runtime_error {
12 public:
13 explicit WindowError(const std::string &message) : std::runtime_error("Window error: " + message) {}
14};
15
16} // namespace Window::Exception
WindowError(const std::string &message)
Definition WindowError.hpp:13
Definition WindowError.hpp:6