TomiOhl
TomiOhl
Nope, but thanks, your question helped! I was testing with an error that has parameters: ```solidity error DistributionEnded(uint256 current, uint256 end); ``` May I guess none of your custom errors...
Well, alright. Anyways, I created a separate library for this: [https://www.npmjs.com/package/custom-error-test-helper](https://www.npmjs.com/package/custom-error-test-helper) It's based on **rsodre**'s code, but supports decoding errors with parameters, too.
Note to others: the above question was answered in TomiOhl/custom-error-test-helper#1