Effect CommunityEC
Effect Community4mo ago
6 replies
WIP

Understanding `overriddenSchemaConstructor` for Protected Constructors in Tagged Errors

What is the rationale behind overriddenSchemaConstructor? I want the constructor of a tagged error to be protected so that it is only possible to die on this error
Was this page helpful?