update page now

The Uri\WhatWg\InvalidUrlException class

(PHP 8 >= 8.5.0)

Введение

Indicates that a given URL is invalid or that an operation would result in an invalid URL according to the » WHATWG URL Standard.

Обзор класса

namespace Uri\WhatWg;
class InvalidUrlException extends Uri\InvalidUriException {
/* Свойства */
public readonly array $errors;
/* Наследуемые свойства */
protected string $message = "";
private string $string = "";
protected int $code;
protected string $file = "";
protected int $line;
private array $trace = [];
private ?Throwable $previous = null;
/* Методы */
public Uri\WhatWg\InvalidUrlException::__construct(
    string $message = "",
    array $errors = [],
    int $code = 0,
    ?Throwable $previous = null
)
/* Наследуемые методы */
final public Exception::getCode(): int
final public Exception::getFile(): string
final public Exception::getLine(): int
final public Exception::getTrace(): array
}

Свойства

errors
An array of Uri\WhatWg\UrlValidationError objects.

Содержание

Добавить

Примечания пользователей

Пользователи ещё не добавляли примечания для страницы
To Top