public function getFieldErrors($field)
    {
        return isset($this->errors[$field]) ? $this->errors[$field] : null;
    }
public function getFieldErrors($field)
    {
        return isset($this->errors[$field]) ? $this->errors[$field] : null;
    }
public function getFieldErrors ( $ field ) { return isset ( $ this -> errors [ $ field ] ) ? $ this -> errors [ $ field ] : null ; }
Return field errors.

@param  string $field
@return array
Return field errors .