fix(kernel/kernel_exception): incorrect pp method

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-12-19 14:46:22 -08:00
parent d3d24696f4
commit 6cc83dbe2a

View file

@ -13,7 +13,7 @@ format kernel_exception::pp(formatter const &, options const &) const {
}
format unknown_name_exception::pp(formatter const &, options const &) const {
return format{format("unknown object '"), format(get_name()), format("'")};
return format{format(what()), format(" '"), format(get_name()), format("'")};
}
format already_declared_exception::pp(formatter const &, options const &) const {