Stop error reporting after N errors

Defines the maximum number of reported errors. When set to zero, no limitation occurs.