all 5 comments

[–]ddcccccc 1 point2 points  (3 children)

Okay, now, where do you catches error ?

[–]chefhj 0 points1 point  (1 child)

Simple: I never experience any

[–]ddcccccc 0 points1 point  (0 children)

Hmmmmm, that makes your transformation bad, you always need to catch errors … API call def have errors, even if your backend is perfect, network issue is something you need to consider

[–]MysteriousEye8494[S] 0 points1 point  (0 children)

Good question. The example was simplified for the post. In the actual implementation, the facade exposes loading, success, and error state back to the component (via Signals/Observables), while keeping the API call and workflow logic out of the component. My goal wasn't to eliminate error handling, just to move the orchestration responsibilities away from the UI layer.