The Uri\WhatWg\UrlValidationError class
Provides details about errors that were detected when parsing a URL with Uri\WhatWg\Url.
Intro
Provides details about errors that were detected when parsing a URL with Uri\WhatWg\Url.
Class synopsis
Uri\WhatWgfinalreadonlyUrlValidationErrorPropertiespublicstringcontextpublicUri\WhatWg\UrlValidationErrorTypetypepublicboolfailureMethods
Properties
contextThe input URL at the point where the error was detected.
typeThe type of error.
failureIf 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.
Urlvalidationerror