2023-10-10 13:02:21 +00:00
|
|
|
//
|
|
|
|
// Created by kyle on 2023-10-10.
|
|
|
|
//
|
|
|
|
|
|
|
|
#include "Exceptions.h"
|
|
|
|
|
|
|
|
|
2023-10-15 01:38:01 +00:00
|
|
|
namespace scsl {
|
2023-10-10 13:02:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
AssertionFailed::AssertionFailed(std::string message) : msg(message)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2023-10-11 01:57:43 +00:00
|
|
|
const char *
|
|
|
|
AssertionFailed::what() const throw()
|
2023-10-10 13:02:21 +00:00
|
|
|
{
|
|
|
|
return const_cast<char *>(this->msg.c_str());
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|