The term "prepare" refers to "VDAF preparation". Yet PrepareError enumerates all reasons a report might be rejected during aggregation, just one of which has to do with VDAF preparation. The others are strictly about DAP protocol logic. I think we should move away from the term PrepareError so that we don't conflate these things.
My suggestion would be something like RejectionReason.
The term "prepare" refers to "VDAF preparation". Yet
PrepareError
enumerates all reasons a report might be rejected during aggregation, just one of which has to do with VDAF preparation. The others are strictly about DAP protocol logic. I think we should move away from the termPrepareError
so that we don't conflate these things.My suggestion would be something like
RejectionReason
.