effect icon indicating copy to clipboard operation
effect copied to clipboard

From Discord: Bug with Rpc API: Suppressed Transport Level Errors

Open effect-bot opened this issue 1 year ago • 1 comments

Summary

The user is reporting a bug with the new Rpc API where transport level errors, specifically HttpClientError, are missing from the R type when calling an Rpc with rpc-http. The user is unsure how to fix this issue since the error type is carried with the request and the requests are now Schema.TaggedClass, which they have found difficult to work with at the type level.

Key takeaways:

  • There is a bug with the new Rpc API where transport level errors are suppressed.
  • The specific error type HttpClientError is missing from the R type.
  • The user is unsure how to fix this issue due to the complexity of working with Schema.TaggedClass at the type level.

Discord thread

https://discord.com/channels/795981131316985866/1205600672309837854

effect-bot avatar Feb 09 '24 19:02 effect-bot

typo, missing from E not R of course

evelant avatar Feb 09 '24 19:02 evelant