MissingAssetException

Type
Class
Namespace
craft\errors
Inherits
craft\errors\MissingAssetException » yii\base\Exception (opens new window) » Exception (opens new window)
Since
3.2.0

MissingAssetException represents an exception caused by an asset record that doesn't exist.

View source (opens new window)

# Public Properties

# filename

Type
string (opens new window)
Default value
null

View source (opens new window)

# folder

Type
craft\models\VolumeFolder
Default value
null

View source (opens new window)

# indexEntry

Type
craft\models\AssetIndexData
Default value
null

View source (opens new window)

# volume

Type
craft\base\VolumeInterface
Default value
null

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