microsoft/vscode-react-native

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
0fc1f1ded677de3d424c138ff2b42948ec8d4f08

Branches

Tags

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

Clone

HTTPS

Download ZIP

src/common/error/internalErrorCode.ts

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