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
FabienPushed on Jun 10 2024, 07:22
Reviewer
Restricted Project
Differential Revision
D16314: rpc: Throw more user friendly arg type check error
Parents
rABC5a855111a3de: [Automated] Update seeds
Branches
Unknown
Tags
Unknown