fixed class variable name
raise proper exception if "path" nor "handler" were not provided to Route