Page MenuHomeWickedGov Phorge

InstallException.php
No OneTemporary

Size
899 B
Referenced Files
None
Subscribers
None

InstallException.php

<?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

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)

Event Timeline