AireEngine
A 3D Open-World Game Engine
Loading...
Searching...
No Matches
error.h
1#pragma once
2
3#include <string>
4#include <exception>
5
6namespace Aire {
7
13 class Error : public std::exception {
14 public:
18 Error(const char* msg, ...);
19
21 const char* what() const noexcept override;
22
23 private:
24 std::string msgStr;
25 };
26
27}
28
Definition error.h:13
Error(const char *msg,...)
Definition error.cpp:8
const char * what() const noexcept override
Definition error.cpp:24