We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1525255 commit 7f86b36Copy full SHA for 7f86b36
src/error.rs
@@ -120,6 +120,8 @@ pub enum Error {
120
LiquiditySourceUnavailable,
121
/// The given operation failed due to the LSP's required opening fee being too high.
122
LiquidityFeeTooHigh,
123
+ /// Parsing a Human-Readable Name has failed
124
+ HrnParsingFailed,
125
}
126
127
impl fmt::Display for Error {
@@ -193,6 +195,9 @@ impl fmt::Display for Error {
193
195
Self::LiquidityFeeTooHigh => {
194
196
write!(f, "The given operation failed due to the LSP's required opening fee being too high.")
197
},
198
+ Self::HrnParsingFailed => {
199
+ write!(f, "Failed to parse a human-readable name.")
200
+ },
201
202
203
0 commit comments