MissingAssetException ​
- Type
- Class
- Namespace
- craft\errors
- Inherits
- craft\errors\MissingAssetException » yii\base\Exception » Exception
- Since
- 3.2.0
MissingAssetException represents an exception caused by an asset record that doesn't exist.
Public Properties ​
Property | Description |
---|---|
filename | string |
folder | craft\models\VolumeFolder |
indexEntry | craft\models\AssetIndexData |
volume | craft\base\VolumeInterface |
filename
​
- Type
- string
- Default value
null
folder
​
- Type
- craft\models\VolumeFolder
- Default value
null
indexEntry
​
- Type
- craft\models\AssetIndexData
- Default value
null
volume
​
- Type
- craft\base\VolumeInterface
- Default value
null
Public Methods ​
Method | Description |
---|---|
__construct() | Constructor |
getName() |
__construct()
​
Constructor
Arguments ​
$indexEntry
(craft\models\AssetIndexData)$volume
(craft\base\VolumeInterface)$folder
(craft\models\VolumeFolder)$filename
(string)$message
(string)$code
(integer)$previous
(Throwable, null)
getName()
​
Returns ​
string – The user-friendly name of this exception