UNPKG

@reactivex/rxjs

Version:

Reactive Extensions for modern JavaScript

21 lines 578 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var TimeoutErrorImpl = (function () { function TimeoutErrorImpl() { Error.call(this); this.message = 'Timeout has occurred'; this.name = 'TimeoutError'; return this; } TimeoutErrorImpl.prototype = Object.create(Error.prototype); return TimeoutErrorImpl; })(); /** * An error thrown when duetime elapses. * * @see {@link operators/timeout} * * @class TimeoutError */ exports.TimeoutError = TimeoutErrorImpl; //# sourceMappingURL=TimeoutError.js.map