Skip to content

Commit

Permalink
Merge pull request #2079 from Zarthus/docs/quickstart-exception-treev…
Browse files Browse the repository at this point in the history
…iew-2055

docs/quickstart: add Exception Tree View (#2055)
  • Loading branch information
sagikazarmark committed Jun 23, 2018
2 parents b4e2ffb + 40b94a3 commit 365fe33
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/quickstart.rst
Expand Up @@ -483,6 +483,23 @@ The following example shows that redirects can be disabled.
Exceptions
==========

**Tree View**

The following tree view describes how the Guzzle Exceptions depend
on eachother.

.. code-block:: none
. \RuntimeException
├── SeekException (implements GuzzleException)
└── TransferException (implements GuzzleException)
└── RequestException
├── BadResponseException
│   ├── ServerException
│ └── ClientException
├── ConnectionException
└── TooManyRedirectsException
Guzzle throws exceptions for errors that occur during a transfer.

- In the event of a networking error (connection timeout, DNS errors, etc.),
Expand Down

0 comments on commit 365fe33

Please sign in to comment.