Skip to main content

fail_external

Function fail_external 

Source
pub async fn fail_external<'e, E>(
    executor: E,
    callback_id: Uuid,
    error: &str,
) -> Result<JobRow, AwaError>
where E: PgExecutor<'e>,
Expand description

Fail a waiting job via external callback.

Records the error and transitions to failed.