Automattic\WooCommerce\Internal\DependencyManagement

ContainerException::__construct │ public │ WC 1.0

Create a new instance of the class.

Метод класса: ContainerException{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$ContainerException = new ContainerException();
$ContainerException->__construct( $message, $code, ?\Exception $previous );
$message(null)
The exception message to throw.
По умолчанию: null
$code(int)
The error code.
?\Exception $previous
.
По умолчанию: null

Код ContainerException::__construct() WC 11.2.2

public function __construct( $message = null, $code = 0, ?\Exception $previous = null ) {
	parent::__construct( $message, $code, $previous );
}