mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-26 11:08:06 +01:00
27 lines
411 B
PHP
27 lines
411 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Exception for 412 Precondition Failed responses
|
||
|
*
|
||
|
* @package Requests
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* Exception for 412 Precondition Failed responses
|
||
|
*
|
||
|
* @package Requests
|
||
|
*/
|
||
|
class Requests_Exception_HTTP_412 extends Requests_Exception_HTTP {
|
||
|
/**
|
||
|
* HTTP status code
|
||
|
*
|
||
|
* @var integer
|
||
|
*/
|
||
|
protected $code = 412;
|
||
|
|
||
|
/**
|
||
|
* Reason phrase
|
||
|
*
|
||
|
* @var string
|
||
|
*/
|
||
|
protected $reason = 'Precondition Failed';
|
||
|
}
|