Closed smwentum closed 9 years ago
I haven't gotten around to it yet, but issue https://github.com/nicolewhite/algebra.js/issues/19 is for updating all the error messages. I want them to be along the lines of what Tim has done in the parser, e.g. this line.
So if you could edit these to be more along those lines, e.g.
throw new Error("Expected " + input.toString() + " to be a Fraction");
then we'll be good.
i am still learning about pulling on github but this is the changes to complex.js and the tests (ignore last two pull requests)