nextcloud/apps/dav/lib/Connector/Sabre/Exception/EntityTooLarge.php

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
548 B
PHP
Raw Normal View History

<?php
2015-03-26 06:44:34 -04:00
/**
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
2015-03-26 06:44:34 -04:00
*/
namespace OCA\DAV\Connector\Sabre\Exception;
/**
* Entity Too Large
*
* This exception is thrown whenever a user tries to upload a file which exceeds hard limitations
*
*/
class EntityTooLarge extends \Sabre\DAV\Exception {
2013-10-08 09:40:42 -04:00
/**
* Returns the HTTP status code for this exception
*
* @return int
*/
public function getHTTPCode() {
return 413;
}
}