Simplifying `Effect.catchTag` with inferred generics for reusable helper
I want to extract repetitive
I pretty much want to
Effect.catchTag calls into a reusable helper, and noticed I need a ton of explicit generic types. Is it possible to infer some of those or to simplify the expression?I pretty much want to
.pipe(mapDatabaseError()) for any Drizzle operation instead of manually typing it out.