oscartbeaumont / rspc

A framework for building typesafe web backends in Rust
https://rspc.dev
MIT License
1.1k stars 50 forks source link

Improve errors for invalid error types #242

Open oscartbeaumont opened 8 months ago

oscartbeaumont commented 8 months ago
image
oscartbeaumont commented 8 months ago
image

I'm also not a fan of the macro showing up here because it is confusing to an end user.

oscartbeaumont commented 8 months ago

Middleware also seem to straight out have problems inferring the error type.