Shyrogan / axum_thiserror

A Rust procedural macro for custom error handling in web applications, enabling the association of specific HTTP status codes with error types.
MIT License
0 stars 1 forks source link

Passthrough for error types that are already IntoResponse #1

Open valpackett opened 6 months ago

valpackett commented 6 months ago

This looks very convenient! :+1:

One thing that seems missing is being able to reuse an error's own IntoResponse implementation when doing #[from]. e.g. JsonDeserializerRejection is such an error.

Shyrogan commented 6 months ago

Indeed, I’ll look into that when I have free time, if you have time or want to implement it just make a PR and let me know :)