Automattic\WooCommerce\Internal\DependencyManagement

ContainerException::__constructpublicWC 1.0

Create a new instance of the class.

Method of the class: ContainerException{}

No Hooks.

Returns

null. Nothing (null).

Usage

$ContainerException = new ContainerException();
$ContainerException->__construct( $message, $code, ?\Exception $previous );
$message(null)
The exception message to throw.
Default: null
$code(int)
The error code.
?\Exception $previous
.
Default: null

ContainerException::__construct() code WC 9.9.3

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