Page MenuHomePhabricator

PaymentRequired.php
No OneTemporary

PaymentRequired.php

<?php
namespace Sabre\DAV\Exception;
use Sabre\DAV;
/**
* Payment Required
*
* The PaymentRequired exception may be thrown in a case where a user must pay
* to access a certain resource or operation.
*
* @copyright Copyright (C) 2007-2015 fruux GmbH (https://fruux.com/).
* @author Evert Pot (http://evertpot.com/)
* @license http://sabre.io/license/ Modified BSD License
*/
class PaymentRequired extends DAV\Exception {
/**
* Returns the HTTP statuscode for this exception
*
* @return int
*/
function getHTTPCode() {
return 402;
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Dec 21, 1:41 PM (2 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
914415
Default Alt Text
PaymentRequired.php (590 B)

Event Timeline