Add functionality to set marks on the error stack and to pop all errors to the next...