microsoft/vscode-react-native

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
9588b66e62774c169bd461ef2aac4bc9535875bb

Branches

Tags

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

Clone

HTTPS

Download ZIP

src/common/error/internalErrorCode.ts

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