biofriction-wp-theme/node_modules/rxjs/_esm2015/util/TimeoutError.js

16 lines
378 B
JavaScript
Raw Permalink Normal View History

2021-10-26 14:18:09 +02:00
/**
* An error thrown when duetime elapses.
*
* @see {@link timeout}
*
* @class TimeoutError
*/
export class TimeoutError extends Error {
constructor() {
const err = super('Timeout has occurred');
this.name = err.name = 'TimeoutError';
this.stack = err.stack;
this.message = err.message;
}
}
//# sourceMappingURL=TimeoutError.js.map