"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.throwError = void 0;
const Observable_js_1 = require("../Observable.js");
function throwError(errorFactory) {
    return new Observable_js_1.Observable((subscriber) => {
        subscriber.error(errorFactory());
    });
}
exports.throwError = throwError;//# sourceMappingURL=http://go/sourcemap/sourcemaps/bf249e6efb5b097f23d7e21d7283429f0760b740/node_modules/rxjs/dist/cjs/internal/observable/throwError.js.map