pub async fn fail_external(
pool: &PgPool,
callback_id: Uuid,
error: &str,
run_lease: Option<i64>,
) -> Result<JobRow, AwaError>Expand description
Fail a waiting job via external callback.
Records the error and transitions to failed.