MailPoet\EmailEditor

Exception::withCode()publicWC 1.0

Method of the class: Exception{}

No Hooks.

Return

static.

Usage

$Exception = new Exception();
$Exception->withCode( $code );
$code(int) (required)
-

Exception::withCode() code WC 9.8.1

public function withCode(int $code) {
  $this->code = $code;
  return $this;
}