Issue #3348441 by kunal.sachdev, phenaproxima, Wim Leers: Many callers of ValidationResult::createError() violate its interface due to lack of strict typing