Do you want a workplace culture where people hide their mistakes? Because this is how you create such a culture.
I'd never go this route with a geniune mistake as they are life's best lessons. But there is a difference between an honest mistake and a mistake that could have been easily avoided had process been followed.