ErrorLog Table (AdventureWorks)
Records all errors in the AdventureWorks database that are caught by the CATCH block of a TRY...CATCH construct. Data is inserted by the dbo.uspLogError stored procedure when that procedure is executed from inside the CATCH block of a TRY...CATCH construct.
The ErrorLog table is contained in the dbo schema.
Primary key for ErrorLog rows.
Date and time the error occurred.
User that executed the batch in which the error occurred.
Error number of the error that occurred.
Severity of the error that occurred.
State number of the error that occurred.
Name of the stored procedure or trigger where the error occurred.
Line number at which the error occurred.
Message text of the error that occurred.