Function custom_error

Source
pub fn custom_error(status: Status, message: &str) -> Custom<Json<String>>