I think this method should be renamed and maybe some javadoc would be nice. The way I'm understanding it, it's more of a `getErrors(int expectedNumber)` where the return value is a list of the errors with size == expectedNumber.