Function mark_failure

Source
pub async fn mark_failure(
    conn: &mut PgConnection,
    id: Uuid,
    error_message: &str,
) -> ModelResult<()>