Files
vscode/src/vs/workbench/api/node/mainThreadErrors.ts
2016-07-12 21:10:54 +03:00

17 lines
628 B
TypeScript

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
'use strict';
import * as errors from 'vs/base/common/errors';
import {MainThreadErrorsShape} from './extHost.protocol';
export class MainThreadErrors extends MainThreadErrorsShape {
public onUnexpectedExtHostError(err: any): void {
errors.onUnexpectedError(err);
}
}