Created error message for non-numeric values