microsoft/vscode-react-native

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
ce7fd946bf2f8dec4ade23d48c36585980f0290f

Branches

Tags

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

Clone

HTTPS

Download ZIP

src/common/error/internalErrorCode.ts

56lines · 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 = 708,
47
48 // Activation errors
49 CouldNotFindLocationOfNodeDebugger = 801,
50
51 // Validating user input errors
52 ExpectedIntegerValue = 1001,
53
54 // Inter Process Communication errors
55 ErrorWhileProcessingMessageInIPMSServer = 901,
56 }
57