ElementException

Type
Class
Namespace
craft\errors
Inherits
craft\errors\ElementException » yii\base\Exception (opens new window) » Exception (opens new window)
Extended by
craft\errors\InvalidElementException, craft\errors\UnsupportedSiteException
Since
3.4.29

ElementException represents an exception involving an element.

View source (opens new window)

# Public Properties

Property Description
element craft\base\ElementInterface – The element

# element

Type
craft\base\ElementInterface
Default value
null

The element

View source (opens new window)

# Public Methods

Method Description
__construct() Constructor.
getName() (opens new window)

# __construct()

Constructor.

View source (opens new window)

Arguments