From 6a0da3886a4629ac9867c41720c7e2c320f12387 Mon Sep 17 00:00:00 2001 From: Carlos V Date: Wed, 14 Aug 2024 21:46:27 +0000 Subject: [PATCH] fix: add AllInvalidReceiptsForRAVRequest error --- tap_core/src/error.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tap_core/src/error.rs b/tap_core/src/error.rs index b5d1c562..266f58b5 100644 --- a/tap_core/src/error.rs +++ b/tap_core/src/error.rs @@ -45,6 +45,9 @@ pub enum Error { /// Error when no valid receipts are found for a RAV request #[error("Failed to produce rav request, no valid receipts")] NoValidReceiptsForRAVRequest, + /// Error when no valid receipts are found for a RAV request + #[error("Failed to produce rav request, all receipts are invalid")] + AllInvalidReceiptsForRAVRequest, /// Error when the previous RAV allocation id does not match the allocation id from the new receipt #[error("Previous RAV allocation id ({prev_id}) doesn't match the allocation id from the new receipt ({new_id}).")]