Issue #3213023 by thursday_bw: Improve the intelligibility of error messages in Entity/FieldConfig.php (cherry picked from commit f1f7fb4f)