Skip to content

Commit d2141e1

Browse files
committed
No-export CheckedHrpstringError
1 parent 8376ed4 commit d2141e1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lightning-invoice/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ pub use crate::ser::Base32Iterable;
8686
#[allow(missing_docs)]
8787
#[derive(PartialEq, Eq, Debug, Clone)]
8888
pub enum Bolt11ParseError {
89-
Bech32Error(CheckedHrpstringError),
89+
Bech32Error(
90+
/// This is not exported to bindings users as the specific error isn't all that useful.
91+
CheckedHrpstringError),
9092
ParseAmountError(ParseIntError),
9193
MalformedSignature(bitcoin::secp256k1::Error),
9294
BadPrefix,

0 commit comments

Comments
 (0)