MediaWiki
1.34.0
InstallException.php
Go to the documentation of this file.
1
<?php
21
namespace
MediaWiki\Installer
;
22
23
use Throwable;
24
29
class
InstallException
extends
\MWException
{
33
private
$status
;
34
42
public
function
__construct
( \
Status
$status
, $message =
''
, $code = 0,
43
Throwable $previous =
null
) {
44
parent::__construct( $message, $code, $previous );
45
$this->status =
$status
;
46
}
47
48
public
function
getStatus
() : \
Status
{
49
return
$this->status
;
50
}
51
}
MediaWiki\Installer\InstallException\$status
Status $status
State when an exception occurs.
Definition:
InstallException.php:33
MediaWiki\Installer
Definition:
InstallException.php:21
Status
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition:
Status.php:40
MWException
MediaWiki exception.
Definition:
MWException.php:26
MediaWiki\Installer\InstallException\getStatus
getStatus()
Definition:
InstallException.php:48
MediaWiki\Installer\InstallException
Exception thrown if an error occur which installation.
Definition:
InstallException.php:29
MediaWiki\Installer\InstallException\__construct
__construct(\Status $status, $message='', $code=0, Throwable $previous=null)
InstallException constructor.
Definition:
InstallException.php:42
includes
installer
InstallException.php
Generated on Thu Dec 19 2019 14:54:23 for MediaWiki by
1.8.16