Show Error Summary for Server-side input validations in Yii2

We can use Html::errorSummary() to handle and display the form validation errors.