microsoft/vscode-react-native

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
c0b32993595df760282a903082cf37d59de18ea8

Branches

Tags

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

Clone

HTTPS

Download ZIP

src/common/error/internalErrorCode.ts

77lines · 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 FailedToExecAppCenterSwitchMandatoryPropForRelease = 120,
27 FailedToExecAppCenterSetTargetBinaryVersionForRelease = 121,
28
29 // Device Deployer errors
30 IOSDeployNotFound = 201,
31
32 // Device Runner errors
33 DeviceNotPluggedIn = 301,
34 DeveloperDiskImgNotMountable = 302,
35 UnableToLaunchApplication = 303,
36 ApplicationLaunchTimedOut = 304,
37
38 // iOS Platform errors
39 IOSSimulatorNotLaunchable = 401,
40
41 // Packager errors
42 OpnPackagerLocationNotFound = 501,
43 OpnPackagerNotFound = 502,
44 FailedToStopPackagerOnExit = 503,
45
46 // React Native Project errors
47 ProjectVersionNotParsable = 601,
48 ProjectVersionUnsupported = 602,
49 ProjectVersionNotReadable = 603,
50
51 // Miscellaneous errors
52 TelemetryInitializationFailed = 701,
53 ExtensionActivationFailed = 702,
54 DebuggerStubLauncherFailed = 703,
55 IntellisenseSetupFailed = 704,
56 NodeDebuggerConfigurationFailed = 705,
57 DebuggingFailed = 706,
58 RNTempFolderDeletionFailed = 707,
59 DebuggingFailedInNodeWrapper = 708,
60 PlatformNotSupported = 709,
61 WorkspaceNotFound = 710,
62 ExpectedExponentTunnelPath = 711,
63
64 // Activation errors
65 CouldNotFindLocationOfNodeDebugger = 801,
66
67 // Validating user input errors
68 ExpectedIntegerValue = 1001,
69 ExpectedStringValue = 1002,
70 ExpectedBooleanValue = 1003,
71 ExpectedArrayValue = 1004,
72 ExpectedObjectValue = 1005,
73
74 // Inter Process Communication errors
75 ErrorWhileProcessingMessageInIPMSServer = 901,
76 ErrorNoPipeFound = 902,
77 }
78