BaguettePHP/mastodon-api

View on GitHub
docs/class-GuzzleHttp.Exception.ConnectException.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">

    <title>Class GuzzleHttp\Exception\ConnectException | ξ ^ω^)ξ Baguette PHP Mastodon API Client / SDK</title>

    <link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">

</head>

<body>
<div id="left">
    <div id="menu">
        <a href="index.html" title="Overview"><span>Overview</span></a>


        <div id="groups">
                <h3>Namespaces</h3>
            <ul>
                <li>
                    <a href="namespace-Baguette.html">
                        Baguette<span></span>
                    </a>

                        <ul>
                <li>
                    <a href="namespace-Baguette.Mastodon.html">
                        Mastodon<span></span>
                    </a>

                        <ul>
                <li class="main">
                    <a href="namespace-Baguette.Mastodon.Config.html">
                        Config                    </a>

                        </li>
                <li class="main">
                    <a href="namespace-Baguette.Mastodon.Entity.html">
                        Entity                    </a>

                        </li>
                <li class="main">
                    <a href="namespace-Baguette.Mastodon.Grant.html">
                        Grant                    </a>

                        </li>
                <li class="main">
                    <a href="namespace-Baguette.Mastodon.Service.html">
                        Service                    </a>

                        </li>
                            </ul></li></ul></li>
                <li class="active">
                    <a href="namespace-GuzzleHttp.html">
                        GuzzleHttp<span></span>
                    </a>

                        <ul>
                <li>
                    <a href="namespace-GuzzleHttp.Cookie.html">
                        Cookie                    </a>

                        </li>
                <li class="active">
                    <a href="namespace-GuzzleHttp.Exception.html">
                        Exception                    </a>

                        </li>
                <li>
                    <a href="namespace-GuzzleHttp.Handler.html">
                        Handler                    </a>

                        </li>
                <li>
                    <a href="namespace-GuzzleHttp.Promise.html">
                        Promise                    </a>

                        </li>
                            </ul></li>
                <li>
                    <a href="namespace-Psr.html">
                        Psr<span></span>
                    </a>

                        <ul>
                <li>
                    <a href="namespace-Psr.Http.html">
                        Http<span></span>
                    </a>

                        <ul>
                <li>
                    <a href="namespace-Psr.Http.Message.html">
                        Message                    </a>

                        </li>
                            </ul></li></ul></li>
                <li>
                    <a href="namespace-Teto.html">
                        Teto<span></span>
                    </a>

                        <ul>
                <li>
                    <a href="namespace-Teto.Object.html">
                        Object                    </a>

                        </li>
                            </ul></li>
            </ul>
        </div>

        <hr>


        <div id="elements">

            <h3>Interfaces</h3>
            <ul>
                <li><a href="class-GuzzleHttp.Exception.GuzzleException.html">GuzzleException</a></li>
            </ul>


            <h3>Exceptions</h3>
            <ul>
                <li><a href="class-GuzzleHttp.Exception.BadResponseException.html">BadResponseException</a></li>
                <li><a href="class-GuzzleHttp.Exception.ClientException.html">ClientException</a></li>
                <li class="active"><a href="class-GuzzleHttp.Exception.ConnectException.html">ConnectException</a></li>
                <li><a href="class-GuzzleHttp.Exception.RequestException.html">RequestException</a></li>
                <li><a href="class-GuzzleHttp.Exception.SeekException.html">SeekException</a></li>
                <li><a href="class-GuzzleHttp.Exception.ServerException.html">ServerException</a></li>
                <li><a href="class-GuzzleHttp.Exception.TooManyRedirectsException.html">TooManyRedirectsException</a></li>
                <li><a href="class-GuzzleHttp.Exception.TransferException.html">TransferException</a></li>
            </ul>


        </div>
    </div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
    <form id="search">
        <input type="hidden" name="cx" value="">
        <input type="hidden" name="ie" value="UTF-8">
        <input type="text" name="q" class="text" placeholder="Search">
    </form>

    <div id="navigation">
        <ul>
            <li>
                <a href="index.html" title="Overview"><span>Overview</span></a>
            </li>
            <li>
                <a href="namespace-GuzzleHttp.Exception.html" title="Summary of GuzzleHttp\Exception"><span>Namespace</span></a>
            </li>
            <li class="active">
<span>Class</span>            </li>
        </ul>
        <ul>
        </ul>
        <ul>
        </ul>
    </div>

<div id="content" class="class">
    <h1>Class ConnectException</h1>


    <div class="description">
    <p>Exception thrown when a connection cannot be established.</p>

<p>Note that no response is present for a ConnectException</p>
    </div>

    <dl class="tree">
        <dd style="padding-left:0px">
Exception
             implements 
<span>Throwable</span>
            
            
        </dd>
        <dd style="padding-left:30px">
            <img src="resources/inherit.png" alt="Extended by">
RuntimeException
            
            
        </dd>
        <dd style="padding-left:60px">
            <img src="resources/inherit.png" alt="Extended by">
            <a href="class-GuzzleHttp.Exception.TransferException.html"><span>GuzzleHttp\Exception\TransferException</span></a>
            
             implements 
                <a href="class-GuzzleHttp.Exception.GuzzleException.html"><span>GuzzleHttp\Exception\GuzzleException</span></a>
            
            
        </dd>
        <dd style="padding-left:90px">
            <img src="resources/inherit.png" alt="Extended by">
            <a href="class-GuzzleHttp.Exception.RequestException.html"><span>GuzzleHttp\Exception\RequestException</span></a>
            
            
            
        </dd>
        <dd style="padding-left:120px">
            <img src="resources/inherit.png" alt="Extended by">
<b><span>GuzzleHttp\Exception\ConnectException</span></b>            
            
            
        </dd>
    </dl>








    <div class="info">
        
        
        <b>Namespace:</b> <a href="namespace-GuzzleHttp.html">GuzzleHttp</a>\<a href="namespace-GuzzleHttp.Exception.html">Exception</a><br>
        

            <b>Located at</b> <a href="source-class-GuzzleHttp.Exception.ConnectException.html#6-37" title="Go to source code">Exception/ConnectException.php</a>
        <br>
    </div>



    <table class="summary methods" id="methods">
    <caption>Methods summary</caption>
    <tr data-order="__construct" id="___construct">

        <td class="attributes"><code>
             public 

            
            
            </code>
        </td>

        <td class="name"><div>
        <a class="anchor" href="#___construct">#</a>
        <code><a href="source-class-GuzzleHttp.Exception.ConnectException.html#13-20" title="Go to source code">__construct</a>( <span> <var>$message</var></span>, <span><code><a href="class-Psr.Http.Message.RequestInterface.html">Psr\Http\Message\RequestInterface</a></code> <var>$request</var></span>, <span>Exception <var>$previous</var> = <span class="php-keyword1">null</span></span>, <span>array <var>$handlerContext</var> = [] </span> )</code>

        <div class="description short">
            
        </div>

        <div class="description detailed hidden">
            






                <h4>Overrides</h4>
                <div class="list"><code><a href="class-GuzzleHttp.Exception.RequestException.html#___construct">GuzzleHttp\Exception\RequestException::__construct()</a></code></div>

        </div>
        </div></td>
    </tr>
    <tr data-order="getResponse" id="_getResponse">

        <td class="attributes"><code>
             public 

            null
            
            </code>
        </td>

        <td class="name"><div>
        <a class="anchor" href="#_getResponse">#</a>
        <code><a href="source-class-GuzzleHttp.Exception.ConnectException.html#22-28" title="Go to source code">getResponse</a>( )</code>

        <div class="description short">
            
        </div>

        <div class="description detailed hidden">
            



                <h4>Returns</h4>
                <div class="list">
                    null
                </div>



                <h4>Overrides</h4>
                <div class="list"><code><a href="class-GuzzleHttp.Exception.RequestException.html#_getResponse">GuzzleHttp\Exception\RequestException::getResponse()</a></code></div>

        </div>
        </div></td>
    </tr>
    <tr data-order="hasResponse" id="_hasResponse">

        <td class="attributes"><code>
             public 

            boolean
            
            </code>
        </td>

        <td class="name"><div>
        <a class="anchor" href="#_hasResponse">#</a>
        <code><a href="source-class-GuzzleHttp.Exception.ConnectException.html#30-36" title="Go to source code">hasResponse</a>( )</code>

        <div class="description short">
            
        </div>

        <div class="description detailed hidden">
            



                <h4>Returns</h4>
                <div class="list">
                    boolean
                </div>



                <h4>Overrides</h4>
                <div class="list"><code><a href="class-GuzzleHttp.Exception.RequestException.html#_hasResponse">GuzzleHttp\Exception\RequestException::hasResponse()</a></code></div>

        </div>
        </div></td>
    </tr>
    </table>

    <table class="summary inherited">
    <caption>Methods inherited from <a href="class-GuzzleHttp.Exception.RequestException.html#methods">GuzzleHttp\Exception\RequestException</a></caption>
    <tr>
        <td><code>
            <a href="class-GuzzleHttp.Exception.RequestException.html#_create">create()</a>, 
            <a href="class-GuzzleHttp.Exception.RequestException.html#_getHandlerContext">getHandlerContext()</a>, 
            <a href="class-GuzzleHttp.Exception.RequestException.html#_getRequest">getRequest()</a>, 
            <a href="class-GuzzleHttp.Exception.RequestException.html#_getResponseBodySummary">getResponseBodySummary()</a>, 
            <a href="class-GuzzleHttp.Exception.RequestException.html#_wrapException">wrapException()</a>
        </code></td>
    </tr>
    </table>
    <table class="summary inherited">
    <caption>Methods inherited from Exception</caption>
    <tr>
        <td><code>
__toString(), 
__wakeup(), 
getCode(), 
getFile(), 
getLine(), 
getMessage(), 
getPrevious(), 
getTrace(), 
getTraceAsString()
        </code></td>
    </tr>
    </table>












    <table class="summary inherited">
    <caption>Properties inherited from Exception</caption>
    <tr>
        <td><code>
<var>$code</var>, 
<var>$file</var>, 
<var>$line</var>, 
<var>$message</var>
        </code></td>
    </tr>
    </table>





</div>

    <div id="footer">
        ξ ^ω^)ξ Baguette PHP Mastodon API Client / SDK API documentation generated by <a href="http://apigen.org">ApiGen</a>
    </div>
</div>
</div>
<script src="resources/combined.js"></script>
<script src="elementlist.js"></script>
</body>
</html>