UploadFailedException

Type
Class
Namespace
craft\errors
Inherits
craft\errors\UploadFailedException » craft\errors\FileException » yii\base\UserException » yii\base\Exception » Exception
Since
3.0

Class UploadFailedException

View source

Public Properties

PropertyDescription
$errorCodeinteger – Error code

$errorCode

Type
integer

Error code

View source

Signature

public integer $errorCode = null

Public Methods

MethodDescription
__construct()Constructor
getName()

__construct()

Constructor

View source

Arguments

Signature

public void __construct ( \craft\errors\int $errorCode = 0, \craft\errors\string $message = null, Throwable $previous = null )

getName()

View source

Returns

string – The user-friendly name of this exception

Signature

public string getName ( )