Charles Leclerc says the mistake he made which led to him crashing out of the French Grand Prix was unacceptable.