Skip to content

Commit

Permalink
Errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ShahanaFarooqui committed Dec 15, 2023
1 parent 0bbf9f3 commit afcfe11
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 2 deletions.
2 changes: 2 additions & 0 deletions doc/lightning-datastore.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ On success, an object is returned, containing:

[comment]: # (GENERATE-FROM-SCHEMA-END)

ERRORS
------

The following error codes may occur:

Expand Down
3 changes: 3 additions & 0 deletions doc/lightning-fetchinvoice.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ On success, an object is returned, containing:

[comment]: # (GENERATE-FROM-SCHEMA-END)

ERRORS
------

The following error codes may occur:

- -1: Catchall nonspecific error.
Expand Down
4 changes: 2 additions & 2 deletions doc/lightning-fundchannel.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ On success, an object is returned, containing:
- **close_to** (hex, optional): The raw scriptPubkey which mutual close will go to; only present if *close_to* parameter was specified and peer supports `option_upfront_shutdown_script`
- **mindepth** (u32, optional): Number of confirmations before we consider the channel active.

ERROR
------
ERRORS
-------

The following error codes may occur:

Expand Down
3 changes: 3 additions & 0 deletions doc/lightning-keysend.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ The following warnings may also be returned:

You can monitor the progress and retries of a payment using the lightning-paystatus(7) command.

ERRORS
------

The following error codes may occur:

- `-1`: Catchall nonspecific error.
Expand Down
3 changes: 3 additions & 0 deletions doc/lightning-listdatastore.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ On success, an object containing **datastore** is returned. It is an array of o

[comment]: # (GENERATE-FROM-SCHEMA-END)

ERRORS
------

The following error codes may occur:

- -32602: invalid parameters.
Expand Down
3 changes: 3 additions & 0 deletions doc/lightning-makesecret.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ On success, an object is returned, containing:
[comment]: # (GENERATE-FROM-SCHEMA-END)


ERRORS
------

The following error codes may occur:

- -1: Catchall nonspecific error.
Expand Down
3 changes: 3 additions & 0 deletions doc/lightning-pay.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ The following warnings may also be returned:
You can monitor the progress and retries of a payment using the
lightning-paystatus(7) command.

ERRORS
------

The following error codes may occur:

- -1: Catchall nonspecific error.
Expand Down
3 changes: 3 additions & 0 deletions doc/lightning-renepay.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ On success, an object is returned, containing:
You can monitor the progress and retries of a payment using the
lightning-renepaystatus(7) command.

ERRORS
------

The following error codes may occur:

- -1: Catchall nonspecific error.
Expand Down
3 changes: 3 additions & 0 deletions doc/lightning-sendinvoice.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ If **status** is "paid":

[comment]: # (GENERATE-FROM-SCHEMA-END)

ERRORS
------

The following error codes may occur:

- -1: Catchall nonspecific error.
Expand Down
3 changes: 3 additions & 0 deletions doc/lightning-txdiscard.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ If there is no matching *txid*, an error is reported. Note that this may
happen due to incorrect usage, such as **txdiscard** or **txsend**
already being called for *txid*.

ERRORS
------

The following error codes may occur:

- -1: An unknown *txid*.
Expand Down

0 comments on commit afcfe11

Please sign in to comment.