pub async fn default_response(
code: StatusCode,
host: &Host,
message: Option<&str>,
) -> FatResponse
Expand description
Get a error FatResponse
.
Can be very useful to return from extensions
.
pub async fn default_response(
code: StatusCode,
host: &Host,
message: Option<&str>,
) -> FatResponse
Get a error FatResponse
.
Can be very useful to return from extensions
.