Uri\WhatWg\InvalidUrlException::__construct

(PHP 8 >= 8.5.0)

Uri\WhatWg\InvalidUrlException::__constructConstruit un objet InvalidUrlException

Description

public Uri\WhatWg\InvalidUrlException::__construct(
    string $message = "",
    array $errors = [],
    int $code = 0,
    ?Throwable $previous = null
)

Construit un objet Uri\WhatWg\InvalidUrlException.

Liste de paramètres

message
Le message de l'exception.
errors
Un tableau d'objets Uri\WhatWg\UrlValidationError.
code
Le code de l'exception.
previous
L'exception précédente utilisée pour le chaînage d'exceptions.