mirror of
https://github.com/XRPLF/clio.git
synced 2026-04-29 15:37:53 +00:00
style: clang-tidy auto fixes (#2958)
Co-authored-by: godexsoft <385326+godexsoft@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
2d6f82c27f
commit
af736717fc
@@ -223,10 +223,11 @@ makeError(Status const& status)
|
||||
auto res = visit(
|
||||
util::OverloadSet{
|
||||
[&status, &wrapOptional](RippledError err) {
|
||||
if (err == ripple::rpcUNKNOWN)
|
||||
if (err == ripple::rpcUNKNOWN) {
|
||||
return boost::json::object{
|
||||
{"error", status.message}, {"type", "response"}, {"status", "error"}
|
||||
};
|
||||
}
|
||||
|
||||
return makeError(err, wrapOptional(status.error), wrapOptional(status.message));
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user