]> Untitled Git - bdk-cli/commit
refactor(payjoin): add payjoin error variants to BDKCliError
authorMshehu5 <musheu@gmail.com>
Mon, 2 Feb 2026 08:52:19 +0000 (09:52 +0100)
committerMshehu5 <musheu@gmail.com>
Mon, 2 Feb 2026 10:56:22 +0000 (11:56 +0100)
commit974c8d56602085a31c1252c8a7c2ae4f6e413599
tree5d04ca7e19d3db20b1a1c3105b7286816cdeec8b
parent35d831329a9c52ad561ae7ee1a5a085c282adddb
refactor(payjoin): add payjoin error variants to BDKCliError

Replace Error::Generic with specific Payjoin error variants using #[from] derives for applicable places, enabling automatic conversion and eliminating verbose .map_err() calls.
src/error.rs
src/payjoin/mod.rs