Created
May 3, 2021 09:22
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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