public function UploadException::__construct in Plupload integration 8
Same name and namespace in other branches
- 2.0.x src/UploadException.php \Drupal\plupload\UploadException::__construct()
Constructs UploadException.
Parameters
int $code: Error code.
File
- src/
UploadException.php, line 56
Class
- UploadException
- Plupload exception handling route.
Namespace
Drupal\pluploadCode
public function __construct($code) {
$this->code = $code;
$this->message = $this->errorMessages[$this->code];
}