EmailVerificationRequiredException
extends RuntimeException
in package
Exception thrown when email verification is required but not completed.
This exception should be caught at the application/framework level and handled appropriately (typically by redirecting to verification page).
Table of Contents
Properties
- $_verificationUrl : string
Methods
- __construct() : mixed
- getVerificationUrl() : string
- Get URL to redirect to (verification page)
Properties
$_verificationUrl
private
string
$_verificationUrl
Methods
__construct()
public
__construct(string $verificationUrl[, string $message = 'Email verification required' ]) : mixed
Parameters
- $verificationUrl : string
-
URL to redirect to (verification page)
- $message : string = 'Email verification required'
-
Technical message for logging
getVerificationUrl()
Get URL to redirect to (verification page)
public
getVerificationUrl() : string