File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -415,20 +415,20 @@ pub enum ParseError {
415415 InvalidSemantics ( SemanticError ) ,
416416}
417417
418+ /// Error when interpreting a TLV stream as a specific type.
418419#[ derive( Debug , PartialEq ) ]
419- ///
420420pub enum SemanticError {
421- ///
421+ /// The provided block hash does not correspond to a supported chain.
422422 UnsupportedChain ,
423- ///
423+ /// A currency was provided without an amount.
424424 UnexpectedCurrency ,
425- ///
425+ /// A required description was not provided.
426426 MissingDescription ,
427- ///
427+ /// Either a node id or a blinded path was not provided.
428428 MissingDestination ,
429- ///
429+ /// An empty set of blinded paths was provided.
430430 MissingPaths ,
431- ///
431+ /// A quantity representing an empty range or that was outside of a valid range was provided.
432432 InvalidQuantity ,
433433}
434434
You can’t perform that action at this time.
0 commit comments