#catchError doesnt work within saga observable?
3 messages · Page 1 of 1 (latest)
Yes because the result of saga is just the command. It's executed later in a different place, that's why you can't catch it
But recently a way to catch it have been added https://docs.nestjs.com/recipes/cqrs#unhandled-exceptions
Documentation | NestJS - A progressive Node.js framework
Nest is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with TypeScript and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Programming).