a zip code crypto-currency system good for red ONLY

TimeoutError.js 378B

12345678910111213141516
  1. /**
  2. * An error thrown when duetime elapses.
  3. *
  4. * @see {@link timeout}
  5. *
  6. * @class TimeoutError
  7. */
  8. export class TimeoutError extends Error {
  9. constructor() {
  10. const err = super('Timeout has occurred');
  11. this.name = err.name = 'TimeoutError';
  12. this.stack = err.stack;
  13. this.message = err.message;
  14. }
  15. }
  16. //# sourceMappingURL=TimeoutError.js.map