Skip to content

Commit e5546a6

Browse files
committed
feat: add custom aggregation error
Signed-off-by: Gustavo Inacio <[email protected]>
1 parent af98c8e commit e5546a6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tap_receipt/src/rav.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,8 @@ pub enum AggregationError {
2626
/// Error when no valid receipts are found for a RAV request
2727
#[error("Failed to produce rav request, no valid receipts")]
2828
NoValidReceiptsForRavRequest,
29+
30+
/// Other user-defined error
31+
#[error(transparent)]
32+
Other(anyhow::Error),
2933
}

0 commit comments

Comments
 (0)