1
>
/*---------------------------------------------------------------------------------------------
errorMessage.ts
2
>
* Copyright (c) Microsoft Corporation. All rights reserved.
3
>
* Licensed under the MIT License. See License.txt in the project root for license information.
4
>
*--------------------------------------------------------------------------------------------*/
5
>
6
>
import * as arrays from './arrays.js';
7
>
import * as types from './types.js';
8
>
import * as nls from '../../nls.js';
9
>
import { IAction } from './actions.js';
10
>
11
function exceptionToErrorMessage(exception: any, verbose: boolean): string {
12
if (verbose && (exception.stack || exception.stacktrace)) {