Front end of the Slack clone application.

12345678910111213141516171819
  1. /**
  2. * An error thrown when an Observable or a sequence was queried but has no
  3. * elements.
  4. *
  5. * @see {@link first}
  6. * @see {@link last}
  7. * @see {@link single}
  8. *
  9. * @class EmptyError
  10. */
  11. export class EmptyError extends Error {
  12. constructor() {
  13. const err = super('no elements in sequence');
  14. this.name = err.name = 'EmptyError';
  15. this.stack = err.stack;
  16. this.message = err.message;
  17. }
  18. }
  19. //# sourceMappingURL=EmptyError.js.map