HomePhabricator

rpc: Throw more user friendly arg type check error

Description

rpc: Throw more user friendly arg type check error

Summary:

The arg type check error doesn't list which arg (position or name) failed. Fix that.

Backport of core#26929.

Due to out-of-order backports some tests have to be updated to account for the new error message.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
FabienAuthored on Jun 7 2024, 18:47
teamcityPushed on Jun 10 2024, 07:24
Parents
rSTAGING5a855111a3de: [Automated] Update seeds
Branches
Unknown
Tags
Unknown

Event Timeline