Skip to content

Commit

Permalink
doc: document the errors code
Browse files Browse the repository at this point in the history
Signed-off-by: Vincenzo Palazzo <[email protected]>
  • Loading branch information
vincenzopalazzo authored and rustyrussell committed Dec 15, 2021
1 parent 43ff949 commit 5bbe3fe
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion doc/lightningd.8.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,16 @@ merchant, and use lightning-pay(7) to pay it:

$ lightning-cli pay $INVOICE

ERRORS CODE
---

- 1: Generic lightning-cli error
- 20: Generic error related to HSM secret
- 21: HSM secret is encrypted
- 22: Bad password used to decrypt the HSM secred
- 23: Error caused from the I/O operation during a HSM decryption/encryption operation


BUGS
----

Expand Down Expand Up @@ -184,4 +194,3 @@ COPYING

Note: the modules in the ccan/ directory have their own licenses, but
the rest of the code is covered by the BSD-style MIT license.

0 comments on commit 5bbe3fe

Please sign in to comment.