Uri\WhatWg\InvalidUrlException::__construct
PHP Manual
PHP Manual»Uri\WhatWg\InvalidUrlException»Uri\WhatWg\InvalidUrlException::__construct

Uri\WhatWg\InvalidUrlException::__construct

(PHP 8 >= 8.5.0)

Uri\WhatWg\InvalidUrlException::__constructConstruit un objet InvalidUrlException

Description

public function 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 array 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.
To Top