Add HTTP error codes

and remove HTTPError && RestError from the list: they are Error class