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