Automattic\WooCommerce\EmailEditor

Exception::createpublic staticWC 1.0

Method of the class: Exception{}

No Hooks.

Returns

static.

Usage

$result = Exception::create( ?\Throwable $previous );
?\Throwable $previous
.
Default: null

Exception::create() code WC 10.8.1

public static function create(?\Throwable $previous = null) {
  return new static('', 0, $previous);
}