kvarn::error

Function sanitize_error_into_response

source
pub async fn sanitize_error_into_response(
    error: SanitizeError,
    host: &Host,
) -> FatResponse
Expand description

Turns a SanitizeError into a FatResponse with host.