You are here

public function UploadException::__construct in Plupload integration 2.0.x

Same name and namespace in other branches
  1. 8 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\plupload

Code

public function __construct($code) {
  $this->code = $code;
  $this->message = $this->errorMessages[$this->code];
}