From 5bbe3feee77b039cdb83c11420d36edbd4c5cc26 Mon Sep 17 00:00:00 2001 From: Vincenzo Palazzo Date: Tue, 14 Dec 2021 22:58:01 +0100 Subject: [PATCH] doc: document the errors code Signed-off-by: Vincenzo Palazzo --- doc/lightningd.8.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/lightningd.8.md b/doc/lightningd.8.md index fa7b70244..2f3a68a7f 100644 --- a/doc/lightningd.8.md +++ b/doc/lightningd.8.md @@ -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 ---- @@ -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. -