describe how to access form errors
feature #4168 [Components][Form] describe how to access form errors (xabbuh)

This PR was merged into the 2.3 branch.

Discussion
----------

[Components][Form] describe how to access form errors

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets |

The ``getErrors()`` and ``getErrorsAsString()`` methods haven't been documented before. This pull request adds a short description for them. This forms as basis for the solution of #3660.

Commits
-------

5deccd2 describe how to access form errors
Merge branch '2.3' into 2.5

* 2.3:
  describe how to access form errors