update page now

The Uri\WhatWg\InvalidUrlException class

(PHP 8 >= 8.5.0)

Introduction

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

Class synopsis

namespace Uri\WhatWg;
class InvalidUrlException extends Uri\InvalidUriException {
/* Properties */
public readonly array $errors;
/* Inherited properties */
protected string $message = "";
private string $string = "";
protected int $code;
protected string $file = "";
protected int $line;
private array $trace = [];
private ?Throwable $previous = null;
/* Methods */
public Uri\WhatWg\InvalidUrlException::__construct(
    string $message = "",
    array $errors = [],
    int $code = 0,
    ?Throwable $previous = null
)
/* Inherited methods */
final public Exception::getCode(): int
final public Exception::getFile(): string
final public Exception::getLine(): int
final public Exception::getTrace(): array
}

Properties

errors
An array of Uri\WhatWg\UrlValidationError objects.

Table of Contents

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top