psemek/libs/util/source/not_implemented.cpp

17 lines
307 B
C++

#include <psemek/util/not_implemented.hpp>
#include <stdexcept>
namespace psemek::util
{
not_implemented_error::not_implemented_error(boost::stacktrace::stacktrace stacktrace)
: exception("Not implemented", std::move(stacktrace))
{}
void not_implemented()
{
throw not_implemented_error{};
}
}