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\base\VolumeInterface

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\base\VolumeInterface
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