scsl/Exceptions.cpp

24 lines
247 B
C++
Raw Normal View History

2023-10-10 13:02:21 +00:00
//
// Created by kyle on 2023-10-10.
//
#include "Exceptions.h"
namespace klib {
AssertionFailed::AssertionFailed(std::string message) : msg(message)
{
}
char *
AssertionFailed::what()
{
return const_cast<char *>(this->msg.c_str());
}
}