WooCommerce Code Reference

NewsletterProcessingException extends Exception
in package

Frames all exceptions ("$e instanceof MailPoet\EmailEditor\Exception").

Table of Contents

$errors  : array<string|int, string>
__construct()  : mixed
create()  : static
getErrors()  : array<string|int, mixed>
withCode()  : static
withError()  : static
withErrors()  : static
withMessage()  : static

Properties

Methods

__construct()

public final __construct([string $message = '' ], int $code[, Throwable $previous = null ]) : mixed
Parameters
$message : string = ''
$code : int
$previous : Throwable = null
Return values
mixed