MissingPassphraseException extends Exception uses ExceptionTrait
The missing passphrase exception.
Tags
Table of Contents
Methods
- __construct() : mixed
- Creates a new MissingPassphraseException instance.
- __toString() : string
- Returns a string representation of the exception
Methods
__construct()
Creates a new MissingPassphraseException instance.
public
__construct([string $message = "The passphrase is required." ][, int $code = 0 ][, Throwable|null $previous = null ]) : mixed
Parameters
- $message : string = "The passphrase is required."
-
The message of the error.
- $code : int = 0
-
The code of the error.
- $previous : Throwable|null = null
__toString()
Returns a string representation of the exception
public
__toString() : string
Tags
Return values
string —The string representation of the object.