microsoft/vscode-react-native
Publicmirrored fromhttps://github.com/microsoft/vscode-react-nativeAvailable
src/common/error/internalErrorCode.ts
51lines · 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 | |
| 4 | export 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 | |
| 46 | // Activation errors |
| 47 | CouldNotFindLocationOfNodeDebugger = 801, |
| 48 | |
| 49 | // Validating user input errors |
| 50 | ExpectedIntegerValue = 1001, |
| 51 | } |
| 52 | |