UploadFailedException

Type
Class
Namespace
craft\errors
Inherits
craft\errors\UploadFailedException » craft\errors\FileException » yii\base\UserException (opens new window) » yii\base\Exception (opens new window) » Exception (opens new window)
Since
3.0.0

Class UploadFailedException

View source (opens new window)

# Public Properties

Property Description
errorCode integer (opens new window) – Error code

# errorCode

Type
integer (opens new window)
Default value
null

Error code

View source (opens new window)

# Public Methods

Method Description
__construct() Constructor
getName()

# __construct()

Constructor

View source (opens new window)

Arguments

# getName()

View source (opens new window)

Returns

string (opens new window) – The user-friendly name of this exception