(PHP 7, PHP 8)
Error::__construct — Construct the error object
$message = ""
[, int $code = 0
[, Throwable $previous = null
]]] )Constructs the Error.
messageThe error message.
codeThe error code.
previousThe previous throwable used for the exception chaining.
Notă:
The
messageis NOT binary safe.