Blame view
sources/3rdparty/sabre/dav/lib/Sabre/DAV/Exception/PaymentRequired.php
597 Bytes
|
03e52840d
|
1 |
<?php |
|
6d9380f96
|
2 3 4 |
namespace Sabre\DAV\Exception; use Sabre\DAV; |
|
03e52840d
|
5 6 7 8 9 10 |
/** * Payment Required * * The PaymentRequired exception may be thrown in a case where a user must pay * to access a certain resource or operation. * |
|
6d9380f96
|
11 12 13 |
* @copyright Copyright (C) 2007-2014 fruux GmbH (https://fruux.com/). * @author Evert Pot (http://evertpot.com/) * @license http://sabre.io/license/ Modified BSD License |
|
03e52840d
|
14 |
*/ |
|
6d9380f96
|
15 |
class PaymentRequired extends DAV\Exception {
|
|
03e52840d
|
16 17 18 19 20 21 22 23 24 25 26 27 28 |
/**
* Returns the HTTP statuscode for this exception
*
* @return int
*/
public function getHTTPCode() {
return 402;
}
}
|