Blame view
sources/3rdparty/sabre/dav/lib/Sabre/DAV/Exception/ServiceUnavailable.php
564 Bytes
|
03e52840d
|
1 |
<?php |
|
6d9380f96
|
2 3 4 |
namespace Sabre\DAV\Exception; use Sabre\DAV; |
|
03e52840d
|
5 |
/** |
|
6d9380f96
|
6 |
* ServiceUnavailable |
|
03e52840d
|
7 8 9 10 |
* * This exception is thrown in case the service * is currently not available (e.g. down for maintenance). * |
|
03e52840d
|
11 |
* @author Thomas Müller <thomas.mueller@tmit.eu> |
|
6d9380f96
|
12 13 |
* @copyright Copyright (C) 2007-2014 fruux GmbH (https://fruux.com/). * @license http://sabre.io/license/ Modified BSD License |
|
03e52840d
|
14 |
*/ |
|
6d9380f96
|
15 |
class ServiceUnavailable 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 503;
}
}
|