function
ValidateTaskFailure
func ValidateTaskFailure(failure TaskFailure) errorValidate persisted failure and retry metadata.
Source store/task_validation.go:158
Custom TaskStore implementations should call this at their direct public boundary and still enforce the corresponding database invariants atomically.
Related types
TaskFailureOne lease-fenced attempt failure and optional retry delay.