Skip to content

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.

View source

Public Properties ​

PropertyDescription
filenamestring
foldercraft\models\VolumeFolder
indexEntrycraft\models\AssetIndexData
volumecraft\models\Volume

filename ​

Type
string
Default value
null

View source

folder ​

Type
craft\models\VolumeFolder
Default value
null

View source

indexEntry ​

Type
craft\models\AssetIndexData
Default value
null

View source

volume ​

Type
craft\models\Volume
Default value
null

View source

Public Methods ​

MethodDescription
__construct()Constructor
getName()

__construct() ​

Constructor

View source

Arguments ​

getName() ​

View source

Returns ​

string – The user-friendly name of this exception