forked from swlib/saber
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?php | ||
/** | ||
* Author: Twosee <twose@qq.com> | ||
* Date: 2018/7/8 下午3:00 | ||
*/ | ||
|
||
namespace Swlib\Http\Exception { | ||
|
||
use Swlib\Saber\Request; | ||
use Swlib\Saber\Response; | ||
|
||
class TransferException extends \RuntimeException | ||
{ | ||
} | ||
|
||
/** | ||
* Class RequestException | ||
* @package Swlib\Http\Exception | ||
* @method Request getRequest() | ||
* @method Response|null getResponse() | ||
*/ | ||
class RequestException extends TransferException | ||
{ | ||
} | ||
|
||
class BadResponseException extends RequestException | ||
{ | ||
} | ||
|
||
class ClientException extends RequestException | ||
{ | ||
} | ||
|
||
class ConnectException extends RequestException | ||
{ | ||
} | ||
|
||
class ServerException extends RequestException | ||
{ | ||
} | ||
|
||
class TooManyRedirectsException extends RequestException | ||
{ | ||
} | ||
|
||
} |