better errors for strictlyTyped validator