microsoft/vscode-react-native

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
57deace7f89d033ec2db480ff2484490b194b54c

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 FailedToRunExponent = 110,
16 FailedToPublishToExpHost = 111,
17 UnsupportedCommandStatus = 112,
18
19 // Device Deployer errors
20 IOSDeployNotFound = 201,
21
22 // Device Runner errors
23 DeviceNotPluggedIn = 301,
24 DeveloperDiskImgNotMountable = 302,
25 UnableToLaunchApplication = 303,
26 ApplicationLaunchTimedOut = 304,
27
28 // iOS Platform errors
29 IOSSimulatorNotLaunchable = 401,
30
31 // Packager errors
32 OpnPackagerLocationNotFound = 501,
33 OpnPackagerNotFound = 502,
34 FailedToStopPackagerOnExit = 503,
35 CannotAttachToPackagerCheckPackagerRunningOnPort = 504,
36 AnotherDebuggerConnectedToPackager = 505,
37
38 // React Native Project errors
39 ProjectVersionNotParsable = 601,
40 ProjectVersionUnsupported = 602,
41 ProjectVersionNotReadable = 603,
42 NotInReactNativeFolderError = 604,
43 SourcesStoragePathIsNullOrEmpty = 605,
44
45 // Miscellaneous errors
46 TelemetryInitializationFailed = 701,
47 ExtensionActivationFailed = 702,
48 DebuggerStubLauncherFailed = 703,
49 IntellisenseSetupFailed = 704,
50 NodeDebuggerConfigurationFailed = 705,
51 DebuggingFailed = 706,
52 RNTempFolderDeletionFailed = 707,
53 DebuggingFailedInNodeWrapper = 708,
54 PlatformNotSupported = 709,
55 WorkspaceNotFound = 710,
56 ExpectedExponentTunnelPath = 711,
57 NotAllSuccessPatternsMatched = 712,
58 CouldNotParsePackageVersion = 713,
59 PackageNotFound = 714,
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