Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save armanozak/4a6e0d0e902e1acbeabc7b3ee523c079 to your computer and use it in GitHub Desktop.
Save armanozak/4a6e0d0e902e1acbeabc7b3ee523c079 to your computer and use it in GitHub Desktop.
[What's New in RxJS 7] An alternative available for ES6+ builds #blog #rxjs
export class EmptyError extends Error {
constructor() {
super("no elements in sequence");
this.name = "EmptyError";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment