UNPKG

@reactivex/rxjs

Version:

Reactive Extensions for modern JavaScript

18 lines 474 B
/** * An error thrown when duetime elapses. * * @see {@link timeout} * * @class TimeoutError */ export var TimeoutError = (function (_super) { __extends(TimeoutError, _super); function TimeoutError() { var err = _super.call(this, 'Timeout has occurred'); this.name = err.name = 'TimeoutError'; this.stack = err.stack; this.message = err.message; } return TimeoutError; }(Error)); //# sourceMappingURL=TimeoutError.js.map