mirror of https://github.com/lukechilds/docs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
776 B
25 lines
776 B
"use strict";
|
|
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
|
|
*/
|
|
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));
|
|
exports.TimeoutError = TimeoutError;
|
|
//# sourceMappingURL=TimeoutError.js.map
|