Implementing a Generic catchTag for Specific Errors in Effect Typescript

is it possible to implement a catchTag for specific errors as a generic utility? i'm trying the following but it only applies to effects with known list of errors,
https://effect.website/play#08067ad7f68a
Was this page helpful?