xrpl-dev-portal
xrpl-dev-portal copied to clipboard
Update documentation for ledger_entry Request
trafficstars
- The documentation does not mention "unexpectedLedgerType" error under the "Possible Errors" section. Here are examples of this error from the unit tests. This is the corresponding source code for the origin of the error message.
- In case of parsing failures, API v1 returns a generic
throwwhereas API v2 returnsinvalidParamserror. This recent change is coded here This difference in the behavior between v1 and v2 might need to specified in the docs page.
Under the "Possible Errors" section, "malformedDocumentID" needs to be documented. This error is returned for incorrectly specified Oracle ledger objects. This is the source code responsible for that error.