Fixed docs: HasErrors is a method not a variable