Exit after displaying errors