My bad on the incorrect documentation, it led you down the wrong path.
Good job on finding the problem, I've corrected the documentation page.
I can almost remember when I first implemented this I originally named it validationErrorResourceKey and then changed it to be more clear which kind of validation it would be used for.
Best,
Joe