summaryrefslogtreecommitdiff
path: root/src/exception.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2011-09-09 18:40:59 +0000
committerMaxime Coste <frrrwww@gmail.com>2011-09-09 18:40:59 +0000
commit3caf96211085254ab3c42a59ce2c80a4ade3d2d8 (patch)
treec795d6e6b39f8f9bbf4422ede5d1bc20fd277f4b /src/exception.cc
parent0676eaec5cc56bf14b7791f5a2ef5485a7a43370 (diff)
exception: refactoring
Diffstat (limited to 'src/exception.cc')
-rw-r--r--src/exception.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/exception.cc b/src/exception.cc
new file mode 100644
index 00000000..0d816062
--- /dev/null
+++ b/src/exception.cc
@@ -0,0 +1,14 @@
+#include "exception.hh"
+
+#include <string>
+#include <typeinfo>
+
+namespace Kakoune
+{
+
+std::string exception::description() const
+{
+ return typeid(*this).name();
+}
+
+}