Page MenuHomeWickedGov Phorge

CannotCreateActorException.php
No OneTemporary

Size
904 B
Referenced Files
None
Subscribers
None

CannotCreateActorException.php

<?php
/**
* Exception thrown when some operation failed
*
* @license GPL-2.0-or-later
* @file
*
* @since 1.31
*/
namespace MediaWiki\Exception;
use RuntimeException;
use Wikimedia\NormalizedException\INormalizedException;
use Wikimedia\NormalizedException\NormalizedExceptionTrait;
/**
* Exception thrown when an actor can't be created.
* @newable
*/
class CannotCreateActorException extends RuntimeException implements INormalizedException {
use NormalizedExceptionTrait;
public function __construct( string $normalizedMessage, array $messageContext = [] ) {
$this->normalizedMessage = $normalizedMessage;
$this->messageContext = $messageContext;
parent::__construct(
self::getMessageFromNormalizedMessage( $normalizedMessage, $messageContext )
);
}
}
/** @deprecated class alias since 1.44 */
class_alias( CannotCreateActorException::class, 'CannotCreateActorException' );

File Metadata

Mime Type
text/x-php
Expires
Sun, Nov 22, 11:33 (1 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ae/a1/e3b2e908c500db32d9d271326fee
Default Alt Text
CannotCreateActorException.php (904 B)

Event Timeline