test(type_checker): add example showing how to use the kernel exception formatter

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
test(type_checker): add example showing how to use the kernel exception formatter