Added 404 error, and renamde HttpError to HttpCode