Skip to content

Commit

Permalink
Make ConnectionException extend HttpException
Browse files Browse the repository at this point in the history
  • Loading branch information
kelunik committed Jul 4, 2020
1 parent 7ccc3d8 commit 50881ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ConnectionException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

namespace Amp\Websocket\Client;

use Amp\Http\Client\HttpException;
use Amp\Http\Client\Response;

final class ConnectionException extends \Exception
final class ConnectionException extends HttpException
{
/** @var Response */
private $response;
Expand Down

0 comments on commit 50881ac

Please sign in to comment.