Answer
The error is solid line. The correct line is dashed line.
The graph is shown below.
Work Step by Step
The given inequality is
$y\lt -x+1$
Graph $y=-x+1$. Use a dashed line because the inequality symbol is $ \lt$.
Test $(0,0)$.
$\Rightarrow y\lt -x+1$
$\Rightarrow 0\lt -0+1$
$\Rightarrow 0\lt 1$
$(0,0)$ is a solution, shade the half-plane that contains $(0,0)$.
Hence, the error is solid line. The correct line is dashed line.