init source
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
const TimeoutErrorImpl = (() => {
|
||||
function TimeoutErrorImpl() {
|
||||
Error.call(this);
|
||||
this.message = 'Timeout has occurred';
|
||||
this.name = 'TimeoutError';
|
||||
return this;
|
||||
}
|
||||
TimeoutErrorImpl.prototype = Object.create(Error.prototype);
|
||||
return TimeoutErrorImpl;
|
||||
})();
|
||||
export const TimeoutError = TimeoutErrorImpl;
|
||||
//# sourceMappingURL=TimeoutError.js.map
|
||||
Reference in New Issue
Block a user