microsoft/vscode-react-native

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
3a0bfdb2c230b6319fe09bfd70e3bae29d0fe088

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

src/common/error/internalErrorCode.ts

47lines · modepreview

// 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,

        // Device Deployer errors
        IDeviceInstallerNotFound = 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,

        // Activation errors
        CouldNotFindLocationOfNodeDebugger = 801,
    }