R-Type
R-Type project
LuaException.hpp
1
#pragma once
2
3
#include <exception>
4
#include <string>
5
6
namespace
RType {
7
class
LuaException
:
public
std::exception {
8
std::string _message;
9
10
public
:
11
LuaException
(std::string
const
&message) : _message(message) {}
12
~
LuaException
() =
default
;
13
14
char
const
*what()
const
noexcept {
return
_message.c_str(); }
15
};
16
}
// namespace RType
RType::LuaException
Definition:
LuaException.hpp:7
Packages
MapScript
MapScript
LuaException.hpp
Generated by
1.8.17