Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4155556
InstallException.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
899 B
Referenced Files
None
Subscribers
None
InstallException.php
View Options
<?php
/**
* @license GPL-2.0-or-later
* @file
*/
namespace
MediaWiki\Installer
;
use
MediaWiki\Exception\MWException
;
use
MediaWiki\Status\Status
;
use
Throwable
;
/**
* Exception thrown if an error occurs during installation
* @ingroup Exception
*/
class
InstallException
extends
MWException
{
/**
* @var Status The state when an exception occurs
*/
private
$status
;
/**
* @param Status $status The state when an exception occurs
* @param string $message The Exception message to throw
* @param int $code The Exception code
* @param Throwable|null $previous The previous throwable used for the exception chaining
*/
public
function
__construct
(
Status
$status
,
$message
=
''
,
$code
=
0
,
?
Throwable
$previous
=
null
)
{
parent
::
__construct
(
$message
,
$code
,
$previous
);
$this
->
status
=
$status
;
}
public
function
getStatus
():
Status
{
return
$this
->
status
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 19 2026, 21:48 (7 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
a0/78/dc43d77366abed210827ad438fb2
Default Alt Text
InstallException.php (899 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment