Function jormungandr::rest::v0::handle_rejection
source · async fn handle_rejection(err: Rejection) -> Result<impl Reply, Rejection>
Expand description
Convert rejections to actual HTTP errors
async fn handle_rejection(err: Rejection) -> Result<impl Reply, Rejection>
Convert rejections to actual HTTP errors