summaryrefslogtreecommitdiffstats
path: root/lib/private/connector/sabre/exception/entitytoolarge.php
blob: 2524fbaa74c694d0a8cd3fe51a9ab549aaaee909 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php

/**
 * Entity Too Large
 *
 * This exception is thrown whenever a user tries to upload a file which exceeds hard limitations
 *
 */
class OC_Connector_Sabre_Exception_EntityTooLarge extends \Sabre\DAV\Exception {

	/**
	 * Returns the HTTP status code for this exception
	 *
	 * @return int
	 */
	public function getHTTPCode() {

		return 413;

	}

}