microsoft/vscode-react-native

Public

mirrored from https://github.com/microsoft/vscode-react-nativeAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
ef14e11b4dec66f85f409f65f431d7e9549c601d

Branches

Tags

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

Clone

HTTPS

Download ZIP

src/common/error/internalErrorCode.ts

75lines · 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 PackagerRunningInDifferentPort = 108,
14 FailedToRestartPackager = 109,
15 FailedToStartExponentPackager = 110,
16 FailedToPublishToExpHost = 111,
17
18 FailedToExecAppCenterLogin = 112,
19 FailedToExecAppCenterLogout = 113,
20 FailedToExecAppCenterWhoAmI = 114,
21 FailedToExecAppCenterSetCurrentApp = 115,
22 FailedToExecAppCenterGetCurrentApp = 116,
23 FailedToExecAppCenterReleaseReact = 117,
24 FailedToExecAppCenterSetCurrentDeployment = 118,
25 FailedToExecAppCenterShowMenu = 119,
26
27 // Device Deployer errors
28 IOSDeployNotFound = 201,
29
30 // Device Runner errors
31 DeviceNotPluggedIn = 301,
32 DeveloperDiskImgNotMountable = 302,
33 UnableToLaunchApplication = 303,
34 ApplicationLaunchTimedOut = 304,
35
36 // iOS Platform errors
37 IOSSimulatorNotLaunchable = 401,
38
39 // Packager errors
40 OpnPackagerLocationNotFound = 501,
41 OpnPackagerNotFound = 502,
42 FailedToStopPackagerOnExit = 503,
43
44 // React Native Project errors
45 ProjectVersionNotParsable = 601,
46 ProjectVersionUnsupported = 602,
47 ProjectVersionNotReadable = 603,
48
49 // Miscellaneous errors
50 TelemetryInitializationFailed = 701,
51 ExtensionActivationFailed = 702,
52 DebuggerStubLauncherFailed = 703,
53 IntellisenseSetupFailed = 704,
54 NodeDebuggerConfigurationFailed = 705,
55 DebuggingFailed = 706,
56 RNTempFolderDeletionFailed = 707,
57 DebuggingFailedInNodeWrapper = 708,
58 PlatformNotSupported = 709,
59 WorkspaceNotFound = 710,
60 ExpectedExponentTunnelPath = 711,
61
62 // Activation errors
63 CouldNotFindLocationOfNodeDebugger = 801,
64
65 // Validating user input errors
66 ExpectedIntegerValue = 1001,
67 ExpectedStringValue = 1002,
68 ExpectedBooleanValue = 1003,
69 ExpectedArrayValue = 1004,
70 ExpectedObjectValue = 1005,
71
72 // Inter Process Communication errors
73 ErrorWhileProcessingMessageInIPMSServer = 901,
74 ErrorNoPipeFound = 902,
75 }