public function errors($nested=true) {
		$errors = $this->rules;
		foreach($this->attributes as $attribute=>$report)
			$errors[$attribute] = $nested ? $report->errors():$report->error();
		return $errors;
	}