You are here

public property UploadException::$errorMessages in Plupload integration 8

Same name and namespace in other branches
  1. 2.0.x src/UploadException.php \Drupal\plupload\UploadException::errorMessages

Code to error message mapping.

Type: array

File

src/UploadException.php, line 42

Class

UploadException
Plupload exception handling route.

Namespace

Drupal\plupload

Code

public $errorMessages = [
  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.',
  self::FILENAME_ERROR => 'Invalid temporary file name.',
];