Hooks-chaining alpha

This is a squash of 241 commits from https://github.com/XRPL-Labs/xrpld-hooks/tree/hooks-chaining
Ready for forward porting to rippled 1.8.3
This commit is contained in:
Richard Holland
2020-07-21 17:09:06 +02:00
parent 04d642387f
commit b33c91f761
66 changed files with 8276 additions and 36 deletions

View File

@@ -186,7 +186,10 @@ STObject::set(SerialIter& sit, int depth) noexcept(false)
{
JLOG(debugLog().error()) << "Unknown field: field_type=" << type
<< ", field_name=" << field;
Throw<std::runtime_error>("Unknown field");
std::stringstream ss;
ss << "Unknown field in Object t=" << type << " f=" << field;
Throw<std::runtime_error>(ss.str().c_str());
}
// Unflatten the field