Removes an error message.