removed isError() function. instead arguments have a "required" parameter that determines whether or not it is an error for an argument not to be supplied.