move some installer bits to util.php

This commit is contained in:
Shish
2020-01-27 17:47:28 +00:00
parent 2d20cf388e
commit 9b50e98927
4 changed files with 232 additions and 232 deletions

View File

@@ -21,6 +21,26 @@ class SCoreException extends RuntimeException
}
}
class InstallerException extends RuntimeException
{
/** @var string */
public $title;
/** @var string */
public $body;
/** @var int */
public $code;
public function __construct(string $title, string $body, int $code)
{
parent::construct($title);
$this->title = $title;
$this->body = $body;
$this->code = $code;
}
}
/**
* Class PermissionDeniedException
*