cashscript
cashscript copied to clipboard
More actionable error message for "Incorrect number of arguments"
Example:
Incorrect number of arguments passed to AnyHedge_v0_11 constructor
Would be nice to have
Expected x arguments for y constructor but got z
or
X unexpected arguments and Y missing arguments passed to ... constructor
or any format that works.