Skip to main content

build_error_response

Function build_error_response 

Source
fn build_error_response(status: u16, message: &str) -> Response<Vec<u8>>
Expand description

Build an error response with CORS headers