Change type of the HTTP Error code to be an integer.