Re:A better way to handle errors in JavaScript
by quackware on Tuesday October 31, 2023 @01:59AM
(#38080830)
Would be nice if this didn't have a dependency on rxjs just for a single use of Observable
[ Parent
| on HN ]
Re:A better way to handle errors in JavaScript
by musicq on Tuesday October 31, 2023 @06:06AM
(#38082471)
Actually rxjs is a `peerDependency` which means it will assume the user will have it installed already.
Re:A better way to handle errors in JavaScript
by chrisweekly on Tuesday October 31, 2023 @02:43PM
(#38089467)
still a dependency
Re:A better way to handle errors in JavaScript
by yencabulator on Thursday November 02, 2023 @03:16PM
(#38118589)
You might like https://github.com/vultix/ts-results -- no dependencies. (Beware maintainer is not active, https://github.com/vultix/ts-results/issues/37)