diff --git a/tap_core/src/receipt/received_receipt.rs b/tap_core/src/receipt/received_receipt.rs index 82f439ad..77c22d54 100644 --- a/tap_core/src/receipt/received_receipt.rs +++ b/tap_core/src/receipt/received_receipt.rs @@ -120,6 +120,12 @@ impl ReceiptWithState { } } +impl ReceiptWithState { + pub fn error(self) -> ReceiptError { + self._state.error + } +} + impl ReceiptWithState where S: ReceiptState,