75 $this->intTypeCheck(
$code,
'code');
76 $this->stringTypeCheck($reason,
'reason');
78 if (
$code !== self::OK &&
$code !== self::REJECTED &&
$code !== self::DENIED) {
79 throw new \InvalidArgumentException(
'Invalid upload status code received. The code must be OK or REJECTED.');
83 $this->message = $reason;
const REJECTED
Upload got rejected by a processor.
const DENIED
Upload got denied by a processor, the upload will be removed immediately.
__construct($code, $reason)
ProcessingStatus constructor.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...