Optimized error messages