monaco-editor-core
Version:
A browser based code editor
14 lines • 781 B
JavaScript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { onUnexpectedError } from './commonFacade/deps.js';
/**
* This function is used to indicate that the caller recovered from an error that indicates a bug.
*/
export function handleBugIndicatingErrorRecovery(message) {
const err = new Error('BugIndicatingErrorRecovery: ' + message);
onUnexpectedError(err);
console.error('recovered from an error that indicates a bug', err);
}
//# sourceMappingURL=base.js.map