Make exception messages actionable
Just ran across several messages that are not actionable for either the developer or user. Also they are combining errors in some cases.
Example from anyhedge.ts:
throw(new Error('Provided parameters must be integers'));
It's actually pretty actionable for a dev but I think this pattern is more actionable:
Expected total sats to be an integer but got 1.0233
Expected redeem price to be an integer but got 1.99999999
Another:
throw(new Error('This configuration results in a division by zero'));