Skip to content

Commit

Permalink
fix: add AllInvalidReceiptsForRAVRequest error
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosvdr committed Aug 14, 2024
1 parent 04b134a commit 6a0da38
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tap_core/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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}).")]
Expand Down

0 comments on commit 6a0da38

Please sign in to comment.