FileValidationException::$errors

Same name and namespace in other branches
  1. 10 core/modules/file/src/Upload/FileValidationException.php \Drupal\file\Upload\FileValidationException::errors
  2. 11.x core/modules/file/src/Upload/FileValidationException.php \Drupal\file\Upload\FileValidationException::errors

The validation errors.

Type: array

File

core/modules/file/src/Upload/FileValidationException.php, line 15

Class

FileValidationException
Provides an exception for upload validation errors.

Namespace

Drupal\file\Upload

Code

protected $errors;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.