                  <p>Returns a <code>URL</code> if <code>self</code> can be used to initialize a <code>URL</code> instance, otherwise throws.</p>
<div class="aside aside-throws">
    <p class="aside-title">Throws</p>
    An <code>AFError.invalidURL</code> instance.

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
         