wrap TypeScriptCompilerException in WrappedException