public function FileValidationException::getErrors in Drupal 10
Gets the errors.
Return value
array The errors.
File
- core/
modules/ file/ src/ Upload/ FileValidationException.php, line 56
Class
- FileValidationException
- Provides an exception for upload validation errors.
Namespace
Drupal\file\UploadCode
public function getErrors() : array {
return $this->errors;
}