Simon Priet 9e2991e668 init
2021-09-05 22:53:58 +02:00

12 lines
390 B
JavaScript

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