1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00
Files
godot/tools/pe_bliss/pe_exception.cpp

20 lines
391 B
C++

#include "pe_exception.h"
namespace pe_bliss
{
//PE exception class constructors
pe_exception::pe_exception(const char* text, exception_id id)
:std::runtime_error(text), id_(id)
{}
pe_exception::pe_exception(const std::string& text, exception_id id)
:std::runtime_error(text), id_(id)
{}
//Returns exception ID
pe_exception::exception_id pe_exception::get_id() const
{
return id_;
}
}