Mark the attestation as failed
( ctx context.Context, // The reason for canceling, in human-readable form // +optional reason string, )
| 782 | |
| 783 | // Mark the attestation as failed |
| 784 | func (att *Attestation) MarkFailed( |
| 785 | ctx context.Context, |
| 786 | // The reason for canceling, in human-readable form |
| 787 | // +optional |
| 788 | reason string, |
| 789 | ) error { |
| 790 | return att.reset(ctx, "failure", reason) |
| 791 | } |
| 792 | |
| 793 | // Mark the attestation as canceled |
| 794 | func (att *Attestation) MarkCanceled( |