Blame view

sources/lib/private/connector/sabre/exception/entitytoolarge.php 358 Bytes
31b7f2792   Kload   Upgrade to ownclo...
1
2
3
4
5
6
7
8
  <?php
  
  /**
   * Entity Too Large
   *
   * This exception is thrown whenever a user tries to upload a file which exceeds hard limitations
   *
   */
6d9380f96   Cédric Dupont   Update sources OC...
9
  class OC_Connector_Sabre_Exception_EntityTooLarge extends \Sabre\DAV\Exception {
31b7f2792   Kload   Upgrade to ownclo...
10
11
12
13
14
15
16
17
18
19
20
21
22
  
  	/**
  	 * Returns the HTTP status code for this exception
  	 *
  	 * @return int
  	 */
  	public function getHTTPCode() {
  
  		return 413;
  
  	}
  
  }