microsoft/vscode-react-native
Publicmirrored fromhttps://github.com/microsoft/vscode-react-nativeAvailable
src/common/error/internalErrorCode.ts
66lines · 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 | FailedToRestartPackager = 109, |
| 15 | FailedToStartExponentPackager = 110, |
| 16 | FailedToPublishToExpHost = 111, |
| 17 | |
| 18 | // Device Deployer errors |
| 19 | IDeviceInstallerNotFound = 201, |
| 20 | |
| 21 | // Device Runner errors |
| 22 | DeviceNotPluggedIn = 301, |
| 23 | DeveloperDiskImgNotMountable = 302, |
| 24 | UnableToLaunchApplication = 303, |
| 25 | ApplicationLaunchTimedOut = 304, |
| 26 | |
| 27 | // iOS Platform errors |
| 28 | IOSSimulatorNotLaunchable = 401, |
| 29 | |
| 30 | // Packager errors |
| 31 | OpnPackagerLocationNotFound = 501, |
| 32 | OpnPackagerNotFound = 502, |
| 33 | FailedToStopPackagerOnExit = 503, |
| 34 | |
| 35 | // React Native Project errors |
| 36 | ProjectVersionNotParsable = 601, |
| 37 | ProjectVersionUnsupported = 602, |
| 38 | ProjectVersionNotReadable = 603, |
| 39 | |
| 40 | // Miscellaneous errors |
| 41 | TelemetryInitializationFailed = 701, |
| 42 | ExtensionActivationFailed = 702, |
| 43 | DebuggerStubLauncherFailed = 703, |
| 44 | IntellisenseSetupFailed = 704, |
| 45 | NodeDebuggerConfigurationFailed = 705, |
| 46 | DebuggingFailed = 706, |
| 47 | RNTempFolderDeletionFailed = 707, |
| 48 | DebuggingFailedInNodeWrapper = 708, |
| 49 | PlatformNotSupported = 709, |
| 50 | WorkspaceNotFound = 710, |
| 51 | ExpectedExponentTunnelPath = 711, |
| 52 | |
| 53 | // Activation errors |
| 54 | CouldNotFindLocationOfNodeDebugger = 801, |
| 55 | |
| 56 | // Validating user input errors |
| 57 | ExpectedIntegerValue = 1001, |
| 58 | ExpectedStringValue = 1002, |
| 59 | ExpectedBooleanValue = 1003, |
| 60 | ExpectedArrayValue = 1004, |
| 61 | ExpectedObjectValue = 1005, |
| 62 | |
| 63 | // Inter Process Communication errors |
| 64 | ErrorWhileProcessingMessageInIPMSServer = 901, |
| 65 | ErrorNoPipeFound = 902 |
| 66 | } |
| 67 | |