"use strict";
/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.FetchStreamError = void 0;
/**
 * Typed error thrown when an async line stream is rejected due to a fetch failure.
 * Consumers can catch this to extract the mapped {@link NoNextEditReason}.
 */
class FetchStreamError extends Error {
    constructor(reason) {
        super('Fetch stream failed');
        this.reason = reason;
    }
}
exports.FetchStreamError = FetchStreamError;
//# sourceMappingURL=fetchStreamError.js.map