Provides a better error message