Front end of the Slack clone application.

TimeoutError.js 825B

123456789101112131415161718192021222324252627
  1. /** PURE_IMPORTS_START PURE_IMPORTS_END */
  2. var __extends = (this && this.__extends) || function (d, b) {
  3. for (var p in b)
  4. if (b.hasOwnProperty(p))
  5. d[p] = b[p];
  6. function __() { this.constructor = d; }
  7. d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  8. };
  9. /**
  10. * An error thrown when duetime elapses.
  11. *
  12. * @see {@link timeout}
  13. *
  14. * @class TimeoutError
  15. */
  16. export var TimeoutError = /*@__PURE__*/ (/*@__PURE__*/ function (_super) {
  17. __extends(TimeoutError, _super);
  18. function TimeoutError() {
  19. var err = _super.call(this, 'Timeout has occurred');
  20. this.name = err.name = 'TimeoutError';
  21. this.stack = err.stack;
  22. this.message = err.message;
  23. }
  24. return TimeoutError;
  25. }(Error));
  26. //# sourceMappingURL=TimeoutError.js.map