public function exportErrors()
    {
        $ret = [];
        foreach ($this->errors as $error) {
            $ret[] = $error->export();
        }
        return $ret;
    }
public function exportErrors()
    {
        $ret = [];
        foreach ($this->errors as $error) {
            $ret[] = $error->export();
        }
        return $ret;
    }
public function exportErrors ( ) { $ ret = [ ] ; foreach ( $ this -> errors as $ error ) { $ ret [ ] = $ error -> export ( ) ; } return $ ret ; }
Export validation errors for all fields

@return array<string,mixed>
Export validation errors for all fields