Handling Error Types in Effect Services and Layers

Hello! I’m learning Effect and experimenting with services/layers. I understand layers hide implementation details of dependencies from their associated service. One thing I’m unsure about is errors: dependencies have their own error types, and it seems like those would surface in my service’s E. If I’m trying to hide the dependencies, shouldn’t I also avoid leaking their error types?
Was this page helpful?