From 3eeaf8be227873d2bf24ef813978998ba03cb799 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 24 Jan 2024 11:32:31 -0600 Subject: [PATCH] Add report_too_early to PrepareError (#2541) --- messages/src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/messages/src/lib.rs b/messages/src/lib.rs index 6ea05cc1b..11131bd96 100644 --- a/messages/src/lib.rs +++ b/messages/src/lib.rs @@ -2196,6 +2196,7 @@ pub enum ReportShareError { BatchSaturated = 6, TaskExpired = 7, UnrecognizedMessage = 8, + ReportTooEarly = 9, } impl Encode for ReportShareError { @@ -3824,6 +3825,10 @@ mod tests { (ReportShareError::HpkeUnknownConfigId, "03"), (ReportShareError::HpkeDecryptError, "04"), (ReportShareError::VdafPrepError, "05"), + (ReportShareError::BatchSaturated, "06"), + (ReportShareError::TaskExpired, "07"), + (ReportShareError::UnrecognizedMessage, "08"), + (ReportShareError::ReportTooEarly, "09"), ]) }