Skip to main content

handle_api_error

Function handle_api_error 

Source
pub async fn handle_api_error(err: Rejection) -> Result<impl Reply, Infallible>
Expand description

Common error handling for API endpoints