Adding Derived Client Errors to an Either in Effect TypeScript
How can you add the derived client errors to an either? Right now I am catching them but I'd like to encode them in my either schema so other services are fully aware of all possible errors so they can react accordingly.
Id like my either schema to look something like this:
Id like my either schema to look something like this:
