axum_thiserror
axum_thiserror is a library that offers a procedural macro to allow thiserror error types to be used as axum responses.
Usage
Add the library to your current project using Cargo:
Then you can create a basic thiserror error:
Now you can use axum_thiserror to implement IntoResponse on your error:
License
This project is licensed under the MIT License.