pub async fn mark_batch_failed(
conn: &mut PgConnection,
course_codes: &[String],
error: CreditRegistrationErrorCode,
) -> ModelResult<()>Expand description
Records a request batching several codes that failed as a whole. Each is listed on its own from now on, until it succeeds, so one bad code stops failing the others.