src/fieldwork/Form.php
public function getFormErrors ()
    {
        return array_map(function (FormValidator $formValidator) {
            return $formValidator->getErrorMsg();
        }, array_filter($this->validators, function (FormValidator $validator) {
            return !$validator->isValid();
        }));
    }
public function getFormErrors ()
    {
        return array_map(function (FormValidator $formValidator) {
            return $formValidator->getErrorMsg();
        }, array_filter($this->validators, function (FormValidator $validator) {
            return !$validator->isValid();
        }));
    }
public function getFormErrors ( ) { return array_map ( function ( FormValidator $ formValidator ) { return $ formValidator -> getErrorMsg ( ) ; } , array_filter ( $ this -> validators , function ( FormValidator $ validator ) { return ! $ validator -> isValid ( ) ; } ) ) ; }
Get all the error messages for form-wide validators that returned invalid

@return string[]
Get all the error messages for form - wide validators that returned invalid