title: Which SSIS System Variable holds error text
body: <p>I am running a SSIS package using SQL Server 2008 Job. The package crash at some point while running. I have created my own mechanism to grab the error and record it in a table. So I can see that there is an error with an specific task, but could not find what the error is.</p>
  
  <p>When I run the same package from BIDS, it works perfect. no error.</p>
  
  <p>What I want to do is, I need to write that error string to my own table which shown in the "Execution Result" tab.</p>
  
  <p>So the question is which system variable holds the error string in SSIS.</p>