Document maxErrors, also document default value for 'tmp'.