Don't know why I didn't do that
Handle the most common HTTP errors in a friendlier way.