26 lines
536 B
PHP
26 lines
536 B
PHP
|
|
<?php
|
||
|
|
/**
|
||
|
|
* @link https://www.yiiframework.com/
|
||
|
|
* @copyright Copyright (c) 2008 Yii Software LLC
|
||
|
|
* @license https://www.yiiframework.com/license/
|
||
|
|
*/
|
||
|
|
|
||
|
|
namespace yii\httpclient;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Exception represents an exception that is caused during HTTP requests.
|
||
|
|
*
|
||
|
|
* @author Paul Klimov <klimov.paul@gmail.com>
|
||
|
|
* @since 2.0
|
||
|
|
*/
|
||
|
|
class Exception extends \yii\base\Exception
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* @return string the user-friendly name of this exception
|
||
|
|
*/
|
||
|
|
public function getName()
|
||
|
|
{
|
||
|
|
return 'HTTP Client Exception';
|
||
|
|
}
|
||
|
|
}
|