Page MenuHomePhabricator

rpc: Throw more user friendly arg type check error
ClosedPublic

Authored by Fabien on Jun 7 2024, 20:53.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABCfe8c891d9d2e: 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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable