Documentation

CRM_Core_Exception_PrematureExitException extends RuntimeException
in package

Exception thrown during tests where live code would exit.

This is when the code would exit in live mode.

Table of Contents

Properties

$errorData  : array<string|int, mixed>
Contextual data.

Methods

__construct()  : mixed
Construct the exception. Note: The message is NOT binary safe.

Properties

Methods

__construct()

Construct the exception. Note: The message is NOT binary safe.

public __construct([string $message = "" ][, array<string|int, mixed> $errorData = [] ][, int $error_code = 0 ][, Throwable|null $previous = NULL ]) : mixed
Parameters
$message : string = ""

[optional] The Exception message to throw.

$errorData : array<string|int, mixed> = []
$error_code : int = 0
$previous : Throwable|null = NULL

[optional] The previous throwable used for the exception chaining.

Tags
link
https://php.net/manual/en/exception.construct.php

        
On this page

Search results