Add a error message to the exceptions