Proposal for a More Ergonomic Error Handling Approach Using `catchTags` in Effect Typescript
After some discussion with @attila about a more ergonomic way of handling the rest of the errors,
for instance:
currently obviously
of course I can use custom function where I can check
but would it be feasable having more functional approach like
where
or having smth like
please advice if there is another way doing it...
for instance:
currently obviously
catchAll recatch the error aboveof course I can use custom function where I can check
_tag and conditionally return what I need.but would it be feasable having more functional approach like
where
catchTags would have an overload accepting function handling rest of errors.or having smth like
catchAllRest please advice if there is another way doing it...
