kakoune/src/exception.cc

16 lines
165 B
C++

#include "exception.hh"
#include "string.hh"
#include <typeinfo>
namespace Kakoune
{
const char* exception::what() const
{
return typeid(*this).name();
}
}