update page now

The Uri\WhatWg\UrlValidationError class

(PHP 8 >= 8.5.0)

Введение

Provides details about errors that were detected when parsing a URL with Uri\WhatWg\Url.

Обзор класса

namespace Uri\WhatWg;
final readonly class UrlValidationError {
/* Свойства */
public string $context;
public bool $failure;
/* Методы */
}

Свойства

context
The input URL at the point where the error was detected.
type
The type of error.
failure
If true the error caused the URL to be rejected as invalid. If false the error is a soft error that was automatically corrected during parsing.

Содержание

Добавить

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

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