microsoft/vscode-react-native
Publicmirrored from https://github.com/microsoft/vscode-react-nativeAvailable
src/common/error/internalErrorCode.ts
77lines · modeblame
17161993Meena Kunnathur Balakrishnan10 years ago | 1 | // Copyright (c) Microsoft Corporation. All rights reserved. |
| 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. | |
| 3 | | |
| 4 | export enum InternalErrorCode { | |
| 5 | // Command Executor errors | |
898cb3c6Meena Kunnathur Balakrishnan10 years ago | 6 | CommandFailed = 101, |
| 7 | CommandFailedWithErrorCode = 102, | |
| 8 | PackagerStartFailed = 103, | |
| 9 | FailedToRunOnAndroid = 104, | |
| 10 | FailedToRunOnIos = 105, | |
| 11 | FailedToStartPackager = 106, | |
| 12 | FailedToStopPackager = 107, | |
5e651f3edigeff10 years ago | 13 | PackagerRunningInDifferentPort = 108, |
f2a58eefBret Johnson9 years ago | 14 | FailedToRestartPackager = 109, |
1c32fe84Patricio Beltran9 years ago | 15 | FailedToStartExponentPackager = 110, |
7893fb7eJimmy Thomson9 years ago | 16 | FailedToPublishToExpHost = 111, |
17161993Meena Kunnathur Balakrishnan10 years ago | 17 | |
0c0b4844max-mironov8 years ago | 18 | FailedToExecAppCenterLogin = 112, |
| 19 | FailedToExecAppCenterLogout = 113, | |
| 20 | FailedToExecAppCenterWhoAmI = 114, | |
| 21 | FailedToExecAppCenterSetCurrentApp = 115, | |
| 22 | FailedToExecAppCenterGetCurrentApp = 116, | |
| 23 | FailedToExecAppCenterReleaseReact = 117, | |
| 24 | FailedToExecAppCenterSetCurrentDeployment = 118, | |
| 25 | FailedToExecAppCenterShowMenu = 119, | |
| 26 | FailedToExecAppCenterSwitchMandatoryPropForRelease = 120, | |
| 27 | FailedToExecAppCenterSetTargetBinaryVersionForRelease = 121, | |
| 28 | | |
17161993Meena Kunnathur Balakrishnan10 years ago | 29 | // Device Deployer errors |
3c172a05Artem Egorov8 years ago | 30 | IOSDeployNotFound = 201, |
17161993Meena Kunnathur Balakrishnan10 years ago | 31 | |
| 32 | // Device Runner errors | |
| 33 | DeviceNotPluggedIn = 301, | |
| 34 | DeveloperDiskImgNotMountable = 302, | |
| 35 | UnableToLaunchApplication = 303, | |
| 36 | ApplicationLaunchTimedOut = 304, | |
| 37 | | |
| 38 | // iOS Platform errors | |
| 39 | IOSSimulatorNotLaunchable = 401, | |
| 40 | | |
| 41 | // Packager errors | |
| 42 | OpnPackagerLocationNotFound = 501, | |
| 43 | OpnPackagerNotFound = 502, | |
190e393cMeena Kunnathur Balakrishnan10 years ago | 44 | FailedToStopPackagerOnExit = 503, |
17161993Meena Kunnathur Balakrishnan10 years ago | 45 | |
| 46 | // React Native Project errors | |
| 47 | ProjectVersionNotParsable = 601, | |
| 48 | ProjectVersionUnsupported = 602, | |
190e393cMeena Kunnathur Balakrishnan10 years ago | 49 | ProjectVersionNotReadable = 603, |
| 50 | | |
| 51 | // Miscellaneous errors | |
| 52 | TelemetryInitializationFailed = 701, | |
| 53 | ExtensionActivationFailed = 702, | |
| 54 | DebuggerStubLauncherFailed = 703, | |
| 55 | IntellisenseSetupFailed = 704, | |
| 56 | NodeDebuggerConfigurationFailed = 705, | |
| 57 | DebuggingFailed = 706, | |
2166bdabdigeff10 years ago | 58 | RNTempFolderDeletionFailed = 707, |
18d8ad2adigeff10 years ago | 59 | DebuggingFailedInNodeWrapper = 708, |
514df4f4Patricio Beltran10 years ago | 60 | PlatformNotSupported = 709, |
| 61 | WorkspaceNotFound = 710, | |
1c32fe84Patricio Beltran9 years ago | 62 | ExpectedExponentTunnelPath = 711, |
2166bdabdigeff10 years ago | 63 | |
| 64 | // Activation errors | |
| 65 | CouldNotFindLocationOfNodeDebugger = 801, | |
df4bce40digeff10 years ago | 66 | |
| 67 | // Validating user input errors | |
| 68 | ExpectedIntegerValue = 1001, | |
9e81e40fPatricio Beltran10 years ago | 69 | ExpectedStringValue = 1002, |
| 70 | ExpectedBooleanValue = 1003, | |
| 71 | ExpectedArrayValue = 1004, | |
| 72 | ExpectedObjectValue = 1005, | |
8b2be31edigeff10 years ago | 73 | |
c764d5e2digeff10 years ago | 74 | // Inter Process Communication errors |
| 75 | ErrorWhileProcessingMessageInIPMSServer = 901, | |
27710197Vladimir Kotikov8 years ago | 76 | ErrorNoPipeFound = 902, |
17161993Meena Kunnathur Balakrishnan10 years ago | 77 | } |