/
internalErrorCode.ts
66 lines (56 loc) · 2.14 KB
/
internalErrorCode.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
export enum InternalErrorCode {
// Command Executor errors
CommandFailed = 101,
CommandFailedWithErrorCode = 102,
PackagerStartFailed = 103,
FailedToRunOnAndroid = 104,
FailedToRunOnIos = 105,
FailedToStartPackager = 106,
FailedToStopPackager = 107,
PackagerRunningInDifferentPort = 108,
FailedToRestartPackager = 109,
FailedToStartExponentPackager = 110,
FailedToPublishToExpHost = 111,
// Device Deployer errors
IOSDeployNotFound = 201,
// Device Runner errors
DeviceNotPluggedIn = 301,
DeveloperDiskImgNotMountable = 302,
UnableToLaunchApplication = 303,
ApplicationLaunchTimedOut = 304,
// iOS Platform errors
IOSSimulatorNotLaunchable = 401,
// Packager errors
OpnPackagerLocationNotFound = 501,
OpnPackagerNotFound = 502,
FailedToStopPackagerOnExit = 503,
// React Native Project errors
ProjectVersionNotParsable = 601,
ProjectVersionUnsupported = 602,
ProjectVersionNotReadable = 603,
// Miscellaneous errors
TelemetryInitializationFailed = 701,
ExtensionActivationFailed = 702,
DebuggerStubLauncherFailed = 703,
IntellisenseSetupFailed = 704,
NodeDebuggerConfigurationFailed = 705,
DebuggingFailed = 706,
RNTempFolderDeletionFailed = 707,
DebuggingFailedInNodeWrapper = 708,
PlatformNotSupported = 709,
WorkspaceNotFound = 710,
ExpectedExponentTunnelPath = 711,
// Activation errors
CouldNotFindLocationOfNodeDebugger = 801,
// Validating user input errors
ExpectedIntegerValue = 1001,
ExpectedStringValue = 1002,
ExpectedBooleanValue = 1003,
ExpectedArrayValue = 1004,
ExpectedObjectValue = 1005,
// Inter Process Communication errors
ErrorWhileProcessingMessageInIPMSServer = 901,
ErrorNoPipeFound = 902,
}