class CRM_Core_Exception_PrematureExitException extends RuntimeException

Exception thrown during tests where live code would exit.

This is when the code would exit in live mode.

Methods

__construct(string $message = "", array $errorData = [], int $error_code = 0, throwable $previous = NULL)

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

Details

at line 54
__construct(string $message = "", array $errorData = [], int $error_code = 0, throwable $previous = NULL)

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

Parameters

string $message [optional] The Exception message to throw.
array $errorData
int $error_code
throwable $previous [optional] The previous throwable used for the exception chaining.