HomePhabricator

factor two very similar error messages

Description

factor two very similar error messages

Summary: Instead of changing the layout of the two messages in D10148 because of the change of indentation, create a static function that build this message.

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D10159

Details

Provenance
PiRKAuthored on Sep 20 2021, 07:57
PiRKPushed on Sep 20 2021, 09:26
Reviewer
Restricted Project
Differential Revision
D10159: factor two very similar error messages
Parents
rABCbf87003a2144: rpc: Assert that RPCArg names are equal to CRPCCommand ones (zmq)
Branches
Unknown
Tags
Unknown