Automattic\WooCommerce\EmailEditor

Exception::create │ public static │ WC 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 11.1.2

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