28 lines
409 B
PHP
28 lines
409 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Exception for 417 Expectation Failed responses
|
||
|
*
|
||
|
* @package Requests
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* Exception for 417 Expectation Failed responses
|
||
|
*
|
||
|
* @package Requests
|
||
|
*/
|
||
|
class Requests_Exception_HTTP_417 extends Requests_Exception_HTTP {
|
||
|
/**
|
||
|
* HTTP status code
|
||
|
*
|
||
|
* @var integer
|
||
|
*/
|
||
|
protected $code = 417;
|
||
|
|
||
|
/**
|
||
|
* Reason phrase
|
||
|
*
|
||
|
* @var string
|
||
|
*/
|
||
|
protected $reason = 'Expectation Failed';
|
||
|
}
|