You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a handler raises a non expected error we get unknown comparison, it should instead mention that the error can't be accepted. I believe this can be done by adapting the signature of the handle function
The text was updated successfully, but these errors were encountered:
mikearnaldi
changed the title
Improve error reporting
Improve type error reporting
May 5, 2024
Could you please send a snippet or push this somewhere? On the type level, the error channel of a handler function is not constrained. The RouterBuilder.handle only excludes ServerError from the E and passthroughs the rest.
When a handler raises a non expected error we get unknown comparison, it should instead mention that the error can't be accepted. I believe this can be done by adapting the signature of the
handle
functionThe text was updated successfully, but these errors were encountered: