1<?php
2
3namespace Sabre\DAV\Exception;
4
5use Sabre\DAV;
6
7/**
8 * InsufficientStorage
9 *
10 * This Exception can be thrown, when for example a harddisk is full or a quota is exceeded
11 *
12 * @copyright Copyright (C) 2007-2015 fruux GmbH (https://fruux.com/).
13 * @author Evert Pot (http://evertpot.com/)
14 * @license http://sabre.io/license/ Modified BSD License
15 */
16class InsufficientStorage extends DAV\Exception {
17
18    /**
19     * Returns the HTTP statuscode for this exception
20     *
21     * @return int
22     */
23    function getHTTPCode() {
24
25        return 507;
26
27    }
28
29}
30