<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.uri.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'class.uri-whatwg-urlvalidationerror.php',
    1 => 'Uri\\WhatWg\\UrlValidationError',
    2 => 'The Uri\\WhatWg\\UrlValidationError class',
  ),
  'up' => 
  array (
    0 => 'book.uri.php',
    1 => 'URI',
  ),
  'prev' => 
  array (
    0 => 'uri-whatwg-invalidurlexception.construct.php',
    1 => 'Uri\\WhatWg\\InvalidUrlException::__construct',
  ),
  'next' => 
  array (
    0 => 'uri-whatwg-urlvalidationerror.construct.php',
    1 => 'Uri\\WhatWg\\UrlValidationError::__construct',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/uri/uri.whatwg.urlvalidationerror.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/class.uri-whatwg-urlvalidationerror.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="class.uri-whatwg-urlvalidationerror" class="reference">
 <h1 class="title">The Uri\WhatWg\UrlValidationError class</h1>
 

 <div class="partintro"><p class="verinfo">(PHP 8 &gt;= 8.5.0)</p>
  <div class="section" id="uri-whatwg-urlvalidationerror.intro">
   <h2 class="title">はじめに</h2>
   <p class="simpara">
    Provides details about errors that were detected when parsing a URL with
    <span class="classname"><a href="class.uri-whatwg-url.php" class="classname">Uri\WhatWg\Url</a></span>.
   </p>
  </div>

  <div class="section" id="uri-whatwg-urlvalidationerror.synopsis">
   <h2 class="title">クラス概要</h2>

   <div class="classsynopsis"><div class="classsynopsisinfo">
    <span class="modifier">namespace</span> <strong class="package">Uri\WhatWg</strong>;</div>

    <div class="classsynopsisinfo">
     
      <span class="modifier">final</span>
      <span class="modifier">readonly</span>
      <span class="modifier">class</span> <strong class="classname"><strong class="classname">UrlValidationError</strong></strong>
      {</div>

     <div class="classsynopsisinfo classsynopsisinfo_comment">/* プロパティ */</div>
     <div class="fieldsynopsis">
      <span class="modifier">public</span>
      <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
       <var class="varname"><a href="class.uri-whatwg-urlvalidationerror.php#uri-whatwg-urlvalidationerror.props.context">$<var class="varname">context</var></a></var>;</div>

     <div class="fieldsynopsis"><span class="modifier">public</span>
      <span class="type"><a href="enum.uri-whatwg-urlvalidationerrortype.php" class="type Uri\WhatWg\UrlValidationErrorType">Uri\WhatWg\UrlValidationErrorType</a></span>
       <var class="varname"><a href="class.uri-whatwg-urlvalidationerror.php#uri-whatwg-urlvalidationerror.props.type">$<var class="varname">type</var></a></var>;</div>

     <div class="fieldsynopsis"><span class="modifier">public</span>
      <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span>
       <var class="varname"><a href="class.uri-whatwg-urlvalidationerror.php#uri-whatwg-urlvalidationerror.props.failure">$<var class="varname">failure</var></a></var>;</div>


     <div class="classsynopsisinfo classsynopsisinfo_comment">/* メソッド */</div>
     <div class="constructorsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><a href="uri-whatwg-urlvalidationerror.construct.php" class="methodname">__construct</a></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$context</code></span>, <span class="methodparam"><span class="type"><a href="enum.uri-whatwg-urlvalidationerrortype.php" class="type Uri\WhatWg\UrlValidationErrorType">Uri\WhatWg\UrlValidationErrorType</a></span> <code class="parameter">$type</code></span>, <span class="methodparam"><span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span> <code class="parameter">$failure</code></span>)</div>

    }
   </div>
  </div>

  <div class="section" id="uri-whatwg-urlvalidationerror.props">
   <h2 class="title">プロパティ</h2>
   <dl>
    
     <dt id="uri-whatwg-urlvalidationerror.props.context"><var class="varname">context</var></dt>
     <dd>
      <span class="simpara">
       The input URL at the point where the error was detected.
      </span>
     </dd>
    
    
     <dt id="uri-whatwg-urlvalidationerror.props.type"><var class="varname">type</var></dt>
     <dd>
      <span class="simpara">
       The type of error.
      </span>
     </dd>
    
    
     <dt id="uri-whatwg-urlvalidationerror.props.failure"><var class="varname">failure</var></dt>
     <dd>
      <span class="simpara">
       If <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> the error caused the URL to be rejected as invalid. If <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>
       the error is a soft error that was automatically corrected during parsing.
      </span>
     </dd>
    
   </dl>
  </div>
 </div>

 




<h2>目次</h2><ul class="chunklist chunklist_reference"><li><a href="uri-whatwg-urlvalidationerror.construct.php">Uri\WhatWg\UrlValidationError::__construct</a> — Construct a UrlValidationError object</li></ul>
</div>
<?php manual_footer($setup); ?>