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

20 lines
239 B
PHP

<?php
namespace OC\Connector\Sabre\Exception;
class EntityTooLarge extends \Sabre\DAV\Exception {
/**
* Returns the HTTP status code for this exception
*
* @return int
*/
public function getHTTPCode() {
return 413;
}
}