Kernel/include/std/stdexcept.hpp
2023-03-27 20:11:32 +03:00

20 lines
384 B
C++

#ifndef __FENNIX_KERNEL_STD_STDEXCEPT_H__
#define __FENNIX_KERNEL_STD_STDEXCEPT_H__
#include <types.h>
namespace std
{
class runtime_error
{
private:
const char *m_what;
public:
runtime_error(const char *what_arg) : m_what(what_arg) {}
const char *what() const { return this->m_what; }
};
}
#endif // !__FENNIX_KERNEL_STD_STDEXCEPT_H__