Clio develop
The XRP Ledger API server.
|
A specialized NotSupported validator that forbids a field to be present. More...
#include <Validators.hpp>
Static Public Member Functions | |
static MaybeError | verify (boost::json::value const &value, std::string_view key) |
Verify whether the field is supported or not. | |
A specialized NotSupported validator that forbids a field to be present.
|
inlinestaticnodiscard |
Verify whether the field is supported or not.
value | The JSON value representing the outer object |
key | The key used to retrieve the tested value from the outer object |
RippledError::rpcNOT_SUPPORTED
if the field is found; otherwise no error is returned