In order for the limit to be 0, both the left and right limits must equal 0. But in fact neither of them equals 0:
 lim
x0
f(x) = -1 0.
 lim
x0
f(x) = 3 0.