Errors.add should throw on invalid calls

To simplify rules debugging, prevent dumb mistakes and crashes in error reporters.
I misread. This is an optional argument. Defaulted to the line of the error's invocation. Doesn't seem necessary in this test,  unless im missing something.