protected function addError($error)
	{
		$this->errors[] = new FileError($error, $this->config['langCallback']);
		$this->isValid = false;
	}
protected function addError($error)
	{
		$this->errors[] = new FileError($error, $this->config['langCallback']);
		$this->isValid = false;
	}
protected function addError ( $ error ) { $ this -> errors [ ] = new FileError ( $ error , $ this -> config [ 'langCallback' ] ) ; $ this -> isValid = false ; }
Adds a new error object to the list

@param integer $error
Adds a new error object to the list