mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-25 22:14:37 +00:00
20 lines
384 B
C++
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__
|