You are here

public property UploadException::$errorMessages in DropzoneJS 8

Same name and namespace in other branches
  1. 8.2 src/UploadException.php \Drupal\dropzonejs\UploadException::errorMessages

Code to error message mapping.

Type: array

File

src/UploadException.php, line 47

Class

UploadException
Class UploadException.

Namespace

Drupal\dropzonejs

Code

public $errorMessages = array(
  self::INPUT_ERROR => 'Failed to open input stream.',
  self::OUTPUT_ERROR => 'Failed to open output stream.',
  self::MOVE_ERROR => 'Failed to move uploaded file.',
  self::DESTINATION_FOLDER_ERROR => 'Failed to open temporary directory for write.',
  self::FILENAME_ERROR => 'Invalid temporary file name.',
  self::FILE_UPLOAD_ERROR => 'The file upload resulted in an error on php level. See http://php.net/manual/en/features.file-upload.errors.php',
);