Using interfaces instead of classes for tagged errors in Effect: Pros and Cons

I asked an LLM to help me get started with something I was planning to wrap with Effect, so that I can get started and have decent error handling. It generates a bunch of interfaces for the various tagged errors, rather than classes that the documentation seems to use. Is that a good/bad/indifferent thing? The documentation seems to like classes much more than I have been doing so far. Is that a baked-in assumption, or are interfaces that are the right shape good enough? Is the LLM making things harder just because I then have to manually write out tage, etc?
Was this page helpful?