Skip to main content

mark_listing_failed

Function mark_listing_failed 

Source
pub async fn mark_listing_failed(
    conn: &mut PgConnection,
    id: Uuid,
    error: CreditRegistrationErrorCode,
) -> ModelResult<()>
Expand description

Records a listing attempt whose roster never arrived. last_listed_at and the counters keep describing the last roster that did, because zeroing them would make a failed listing read as an empty course.