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