So there is a known error bound for Lagrange interpolation on equally spaced nodes on $[a, b]$, namely (from Wikipedia: https://en.wikipedia.org/wiki/Polynomial_interpolation#For_equally_spaced_intervals)
$$|R_n(x)| \le {h^{n+1} \over 4(n+1)} \max_{\xi \in [a, b]} |f^{(n+1)}(\xi)|$$
where $n$ is the degree of the polynomial and $h$ is the spacing between nodes.
In your case $h = 1, n = 2$ and so you get
$$|R_3(x)| \le {1 \over 12} \max_{\xi \in [-1, 1]} |f^{(3)} (\xi)|$$
Now $f^{(3)}(x) = 24x$, and the maximum of this function on $[-1, 1]$ is 24, so you get giving $|R_3(x)| \le 1/12 \times 24 = 2$, as you specified.
But now let's think about what this polynomial actually is. The interpolating polynomial is $g(x) = x^2$ (since this has the same value as $f(x) = x^4$ at -1, 0, 1), and so you're looking for the maximum of $|x^4 - x^2|$ over $[-1, 1]$. This can be seen to be $1/4$ by elementary calculus. This doesn't contradict the bound given, because this bound applies to any function $f$, while it turns out that $x^4$ "looks like" a quadratic on $[-1, 1]$ and therefore can be approximated relatively well by a quadratic.
As to why your text gives the range $[0.22, 0.28]$, is it possible that they are doing some numerical approximation?