Automattic\WooCommerce\Internal\DependencyManagement

ContainerException::__construct()publicWC 1.0

Create a new instance of the class.

Method of the class: ContainerException{}

No Hooks.

Return

null. Nothing (null).

Usage

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

ContainerException::__construct() code WC 8.7.0

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