Before we answer your question, let's first define tracking error and expost risk. Tracking error refers to the amount by which the returns of a stock portfolio or a fund differ from those of a certain benchmark. As you might expect, a fund that has a high tracking error is not expected to follow the benchmark closely, and it is generally seen as being risky.
The other component of the question is expost risk, which is a measure of the variance of an asset's returns relative to a mean value. In other words, expost risk is the statistical variance of an asset's historical returns. Many individuals would argue that tracking error is not the best measure to determine expost risk because it looks at the returns of a portfolio relative to a benchmark rather than looking at the variability in the portfolio's returns. Tracking error can be a useful tool when determining how closely a portfolio mimics a stable benchmark, or how efficient a portfolio's manager is at tracking a benchmark, but many would argue that this is not a good measure of how much an investor can expect to gain or lose on any given trading day. However, expost risk, unlike tracking error, can provide an estimate of the probability that the expected return of a portfolio will drop by a certain amount on any given day, which is why it is a common risk metric used by professionals when studying things such as value at risk.
Using tracking error as a measure of expost risk would only make sense when tracking error is equal to zero because when an investor's portfolio consists of many stable companies that have produced predictable, stable returns, the historical variance of the benchmark's returns would be equal to those of the portfolio.
To learn more see, Introduction To Value At Risk (VAR)  Part 1 and Part 2 and Determining Risk And The Risk Pyramid.

How is the standard error used in trading?
Understand how the standard error is used in statistics and what it measures. Learn how the standard error is used in trading ... Read Answer >> 
What are the advantages and disadvantages of zerobased budgeting in accounting?
Learn how the information ratio is calculated as a riskadjusted measure of performance, and understand how it seeks to differentiate ... Read Answer >> 
How do financial markets react to recessions?
Learn more about the relationship between recessions and financial markets by identifying the fundamental characteristics ... Read Answer >> 
What should I use as a benchmark for my smallcap stock portfolio?
When creating a stock portfolio, it is important to have a benchmark against which you can compare your returns. Comparing ... Read Answer >> 
Can a mean variance analysis be done for any investment?
Learn how mean variance analysis is used in modern portfolio theory to create an optimal mix of assets to maximize return ... Read Answer >>

Investing
What Does ExPost Mean?
In Latin, the term expost means “after the fact.” Applied to finance and investing, expost refers to the analysis and timing of actual returns. 
Investing
Calculating Tracking Error
Tracking error is the difference between the return on a portfolio or fund, and the benchmark it is expected to mirror (or track). 
Managing Wealth
Is Your Portfolio Beating Its Benchmark?
Compare portfolio manager performance using the information ratio. 
Investing
Calculating Portfolio Variance
Portfolio variance is a measure of a portfolio’s volatility, and is a function of two variables. 
Financial Advisor
Active Risk vs. Residual Risk: Differences and Examples
Active risk and residual risk are common risk measurements in portfolio management. This article discusses them, their calculations and their main differences. 
Investing
Explaining Standard Error
Standard error is a statistical term that measures the accuracy with which a sample represents a population. 
Investing
Benchmark Your Returns With Indexes
If your portfolio is always falling short, you may not be making an applestoapples comparison. 
Insurance
What Does Errors and Omissions Insurance Cover?
Errors and omissions insurance protects companies and individuals against claims made by clients for inadequate work or negligent actions. 
Investing
Avoid ETFs With These Traits
Deciding which ETFs to avoid can be as important an investment decision as deciding in which ones to invest.

ExPost Risk
A type of risk measurement technique that uses historic returns ... 
Accounting Error
An error in an accounting item that was not caused intentionally. ... 
NonSampling Error
A statistical error caused by human error to which a specific ... 
Error Of Principle
An accounting mistake in which an entry is recorded in the incorrect ... 
Homoskedastic
A statistics term indicating that the variance of the errors ... 
Benchmark Error
A situation in which the wrong benchmark is selected in a financial ...