Added Enum for error codes returned from scraper