Add entryNotFound error

ledger_entry can return this error if the request is validly formed but the specified entry doesn't exist.
This commit is contained in:
Rome Reginelli
2019-12-27 15:21:32 -08:00
committed by GitHub
parent 1f5b896903
commit 452f578172

View File

@@ -156,6 +156,7 @@ The response follows the [standard format][], with a successful result containin
* Any of the [universal error types][].
* `deprecatedFeature` - The request specified a removed field, such as `generator`.
* `entryNotFound` - The requested ledger object does not exist in the ledger.
* `invalidParams` - One or more fields are specified incorrectly, or one or more required fields are missing.
* `lgrNotFound` - The ledger specified by the `ledger_hash` or `ledger_index` does not exist, or it does exist but the server does not have it.
* `malformedAddress` - The request improperly specified an [Address][] field.