Handling `SocketError` in `fromWebsocket` Function

What happens to the SocketError in the acquire param of fromWebsocket? Why isn't SocketError present in the return type?

https://github.com/Effect-TS/effect/blob/8c330879425e80bed2f65e407cd59e991f0d7bec/packages/platform/src/Socket.ts#L391-L397
Was this page helpful?