Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4097438
MetadataMergeException.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1001 B
Referenced Files
None
Subscribers
None
MetadataMergeException.php
View Options
<?php
/**
* @license GPL-2.0-or-later
* @file
*/
namespace
MediaWiki\Session
;
use
Exception
;
use
UnexpectedValueException
;
/**
* Subclass of UnexpectedValueException annotated with data for debug logs.
*
* @newable
* @since 1.27
* @ingroup Session
* @copyright © 2016 Wikimedia Foundation and contributors
*/
class
MetadataMergeException
extends
UnexpectedValueException
{
/** @var array */
protected
$context
;
/**
* @param string $message
* @param int $code
* @param Exception|null $previous
* @param array $context Additional context data
*/
public
function
__construct
(
$message
=
''
,
$code
=
0
,
?
Exception
$previous
=
null
,
array
$context
=
[]
)
{
parent
::
__construct
(
$message
,
$code
,
$previous
);
$this
->
context
=
$context
;
}
/**
* Get context data.
* @return array
*/
public
function
getContext
()
{
return
$this
->
context
;
}
/**
* Set context data.
*/
public
function
setContext
(
array
$context
)
{
$this
->
context
=
$context
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Aug 18, 14:52 (3 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
df/d3/2402c9f811703e427ba226ea3dc2
Default Alt Text
MetadataMergeException.php (1001 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment