19declare(strict_types=1);
62 switch ($this->code) {
70 $this->message =
'Invalid mandatory entry Attribute: ' .
$this->add_info;
73 $this->message =
'There are entries with the same ID. Duplicate: ' .
$this->add_info;
76 $this->message =
'There are multiple root entry. Duplicate: ' .
$this->add_info;
79 $this->message =
'No such ID found in list or tree: ' .
$this->add_info;
82 $this->message =
'The ID given contains invalid characters: ' .
$this->add_info;
85 $this->message =
'Invalid file path or file not readable: ' .
$this->add_info;
118 $this->message =
'No Style ID is given.';
121 $this->message =
'No Skin ID is given.';
133 $this->message =
'No parent style defined for style: ' .
$this->add_info;
136 $this->message =
'The assignment of this substyle already exists: ' .
$this->add_info;
139 $this->message =
'No scss compiler is installed';
Class for advanced editing exception handling in ILIAS.
Class for advanced editing exception handling in ILIAS.
const INVALID_CHARACTERS_IN_ID
const SUBSTYLE_ASSIGNMENT_EXISTS
const PARSING_JSON_FAILED
const SKIN_FOLDER_DOES_NOT_EXIST
const INVALID_MANDATORY_ENTRY_ATTRIBUTE
const SCSS_COMPILE_FAILED
const DUPLICATE_ROOT_ENTRY
const FOLDER_OPENING_FAILED
const FOLDER_DELETION_FAILED
const FILE_OPENING_FAILED
const FILE_DELETION_FAILED
const SKIN_CSS_DOES_NOT_EXIST
const SKIN_ALREADY_EXISTS
const INVALID_RULES_ENTRY
const FILE_CREATION_FAILED
const FOLDER_CREATION_FAILED