Skip to content

ElementException ​

Type
Class
Namespace
craft\errors
Inherits
craft\errors\ElementException » yii\base\Exception » Exception
Extended by
craft\errors\InvalidElementException, craft\errors\UnsupportedSiteException
Since
3.4.29

ElementException represents an exception involving an element.

View source

Public Properties ​

PropertyDescription
elementcraft\base\ElementInterface – The element

element ​

Type
craft\base\ElementInterface
Default value
null

The element

View source

Public Methods ​

MethodDescription
__construct()Constructor.
getName()

__construct() ​

Constructor.

View source

Arguments ​