mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-12-19 18:22:50 +00:00
update
This commit is contained in:
26
node_modules/rxjs/_esm5/util/TimeoutError.js
generated
vendored
Normal file
26
node_modules/rxjs/_esm5/util/TimeoutError.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
/** PURE_IMPORTS_START PURE_IMPORTS_END */
|
||||
var __extends = (this && this.__extends) || function (d, b) {
|
||||
for (var p in b)
|
||||
if (b.hasOwnProperty(p))
|
||||
d[p] = b[p];
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
/**
|
||||
* An error thrown when duetime elapses.
|
||||
*
|
||||
* @see {@link timeout}
|
||||
*
|
||||
* @class TimeoutError
|
||||
*/
|
||||
export var TimeoutError = /*@__PURE__*/ (/*@__PURE__*/ 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
|
||||
Reference in New Issue
Block a user