Skip to content

Instantly share code, notes, and snippets.

@armanozak
Created May 3, 2021 09:22
Show Gist options
  • Save armanozak/23e051c1e64323851e6e8347a92504bb to your computer and use it in GitHub Desktop.
Save armanozak/23e051c1e64323851e6e8347a92504bb to your computer and use it in GitHub Desktop.
[What's New in RxJS 7] Custom errors get call stack back in RxJS 7 #blog #rxjs
import { EMPTY } from "rxjs";
import { first } from "rxjs/operators";
EMPTY.pipe(first()).subscribe({ error: console.warn });
// (synchronously) EmptyErrorImpl
// v6.6.7 has no call stack, but v7 does
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment