Skip to contents

Record a task failure

Usage

ca_fail(task, message, delay_seconds = 0)

Arguments

task

A claim returned by ca_claim() or passed to an R handler.

message

Error text, stored without truncation.

delay_seconds

Nonnegative delay before another claim is eligible.

Value

NULL, invisibly. The task becomes ready or terminal according to its failure budget. Stale claims raise canard_lease_lost.