Front end of the Slack clone application.

TimeoutError.js 776B

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