Class BEditaUploadPHPException
BEditaUploadPHPException // handle php upload errors
- Exception
-
BeditaException
-
BEditaUploadPHPException
Located at bedita_exception.php
Methods summary
public
|
#
__construct( string $numberError, mixed $details = NULL, $res = self::ERROR, integer $code = 0 )
Constructor |
Methods inherited from BeditaException
errorTrace(),
getCause(),
getDetails(),
getErrorCode(),
getHeader(),
getHttpCode(),
setErrorCode()
Methods inherited from Exception
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
Constants summary
Constants inherited from BeditaException
Properties summary
private
array
|
$phpError
|
#
array(
UPLOAD_ERR_INI_SIZE => "The uploaded file exceeds the upload_max_filesize directive in php.ini",
UPLOAD_ERR_FORM_SIZE => "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form",
UPLOAD_ERR_PARTIAL => "The uploaded file was only partially uploaded",
UPLOAD_ERR_NO_FILE => "No file was uploaded",
UPLOAD_ERR_NO_TMP_DIR => "Missing a temporary folder",
UPLOAD_ERR_CANT_WRITE => "Failed to write file to disk",
UPLOAD_ERR_EXTENSION => "File upload stopped by extension"
)
|
Properties inherited from BeditaException
Properties inherited from Exception
$code,
$file,
$line,
$message