Improve mapping configuration exceptions