breez-sdk
breez-sdk copied to clipboard
Nested Errors received on bindings
Here are a couple of examples we've received
- after calling
redeem_swap
:
Generic(message: "Generic: Failed to create invoice: Invalid amount: Receive amount must be more than 0")
- after calling
send_payment
:
FrbAnyhowException(Generic: Generic: status: Unknown, message: "transport error", details: [], metadata: MetadataMap { headers: {} })
This may be because parse_cln_error_wrapped
is failing or not applied to source of these cln errors, see it's documentation for a better idea. I'm only guessing.