microsoft/vscode-react-native

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
4b37483d1164721421a11a075c89b98a9e8123dc

Branches

Tags

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

Clone

HTTPS

Download ZIP

src/common/error/internalErrorCode.ts

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