Skip to content

Commit 47c9a57

Browse files
committed
Implement StdError for WellKnownError
1 parent 077ff02 commit 47c9a57

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

payjoin/src/send/error.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,8 @@ impl WellKnownError {
376376
}
377377
}
378378

379+
impl std::error::Error for WellKnownError {}
380+
379381
impl core::fmt::Display for WellKnownError {
380382
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
381383
match self.code {

0 commit comments

Comments
 (0)