mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-14 20:34:30 +01:00
15 lines
820 B
TypeScript
15 lines
820 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
export const TIMED_OUT_ERROR = 'Timed out';
|
|
|
|
// These error messages are internal and should not be shown to the user in any way.
|
|
export const USER_CANCELLATION_ERROR = 'User Cancelled';
|
|
export const NETWORK_ERROR = 'network error';
|
|
|
|
// This is the error message that we throw if the login was cancelled for any reason. Extensions
|
|
// calling `getSession` can handle this error to know that the user cancelled the login.
|
|
export const CANCELLATION_ERROR = 'Cancelled';
|