microsoft/vscode-react-native

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
6a465861663d7c6f9433e89c6f6619df320dcef3

Branches

Tags

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

Clone

HTTPS

Download ZIP

src/common/error/internalErrorCode.ts

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