Better error message for no viable alternative and mismatched input.