nextcloud/lib/private/connector/sabre/exception/entitytoolarge.php

20 lines
239 B
PHP
Raw Normal View History

<?php
namespace OC\Connector\Sabre\Exception;
class EntityTooLarge extends \Sabre\DAV\Exception {
2013-10-08 17:40:42 +04:00
/**
* Returns the HTTP status code for this exception
*
* @return int
*/
public function getHTTPCode() {
2013-10-08 17:40:42 +04:00
return 413;
2013-10-08 17:40:42 +04:00
}
}