MediaWiki
1.33.1
|
Subclass of UnexpectedValueException that can be annotated with additional data for debug logging. More...
Public Member Functions | |
__construct ( $message='', $code=0, Exception $previous=null, array $context=[]) | |
getContext () | |
Get context data. More... | |
setContext (array $context) | |
Set context data. More... | |
Protected Attributes | |
$context | |
Subclass of UnexpectedValueException that can be annotated with additional data for debug logging.
Definition at line 35 of file MetadataMergeException.php.
MediaWiki\Session\MetadataMergeException::__construct | ( | $message = '' , |
|
$code = 0 , |
|||
Exception | $previous = null , |
||
array | $context = [] |
||
) |
string | $message | |
int | $code | |
Exception | null | $previous | |
array | $context | Additional context data |
Definition at line 45 of file MetadataMergeException.php.
References $code, and MediaWiki\Session\MetadataMergeException\$context.
MediaWiki\Session\MetadataMergeException::getContext | ( | ) |
Get context data.
Definition at line 59 of file MetadataMergeException.php.
References MediaWiki\Session\MetadataMergeException\$context.
Referenced by MediaWiki\Session\SessionManager\loadSessionInfoFromStore(), and MediaWiki\Session\SessionProviderTest\testMergeMetadata().
MediaWiki\Session\MetadataMergeException::setContext | ( | array | $context | ) |
Set context data.
array | $context |
Definition at line 67 of file MetadataMergeException.php.
References MediaWiki\Session\MetadataMergeException\$context.
|
protected |
Definition at line 37 of file MetadataMergeException.php.
Referenced by MediaWiki\Session\MetadataMergeException\__construct(), MediaWiki\Session\MetadataMergeException\getContext(), and MediaWiki\Session\MetadataMergeException\setContext().