Creating a Generic `TaggedError` Factory Function in TypeScript
TaggedError factory function? like so? as i understand it this causes issues with TS and potentially with the underlying effect Tagging systemim familiar with generic/dynamic services syntax
why? Im trying to reduce the amount of error boilerplate when creating tagged errors and their types, as i might want to force a certain object style be included in all errors, I also want to use TS to force certain naming conventions.
or perhaps there is different convention for error inheritance?
