microsoft/vscode-react-native

Public

mirrored fromhttps://github.com/microsoft/vscode-react-nativeAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
c764d5e2bcaf8e8de611998b26b56ffef0f1d583

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

src/common/error/internalErrorCode.ts

50lines · modecode

1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the MIT license. See LICENSE file in the project root for details.
3
4export enum InternalErrorCode {
5 // Command Executor errors
6 CommandFailed = 101,
7 CommandFailedWithErrorCode = 102,
8 PackagerStartFailed = 103,
9 FailedToRunOnAndroid = 104,
10 FailedToRunOnIos = 105,
11 FailedToStartPackager = 106,
12 FailedToStopPackager = 107,
13
14 // Device Deployer errors
15 IDeviceInstallerNotFound = 201,
16
17 // Device Runner errors
18 DeviceNotPluggedIn = 301,
19 DeveloperDiskImgNotMountable = 302,
20 UnableToLaunchApplication = 303,
21 ApplicationLaunchTimedOut = 304,
22
23 // iOS Platform errors
24 IOSSimulatorNotLaunchable = 401,
25
26 // Packager errors
27 OpnPackagerLocationNotFound = 501,
28 OpnPackagerNotFound = 502,
29 FailedToStopPackagerOnExit = 503,
30
31 // React Native Project errors
32 ProjectVersionNotParsable = 601,
33 ProjectVersionUnsupported = 602,
34 ProjectVersionNotReadable = 603,
35
36 // Miscellaneous errors
37 TelemetryInitializationFailed = 701,
38 ExtensionActivationFailed = 702,
39 DebuggerStubLauncherFailed = 703,
40 IntellisenseSetupFailed = 704,
41 NodeDebuggerConfigurationFailed = 705,
42 DebuggingFailed = 706,
43 RNTempFolderDeletionFailed = 707,
44
45 // Activation errors
46 CouldNotFindLocationOfNodeDebugger = 801,
47
48 // Inter Process Communication errors
49 ErrorWhileProcessingMessageInIPMSServer = 901,
50 }
51