Skip to content

UnsupportedSiteException ​

Type
Class
Namespace
craft\errors
Inherits
craft\errors\UnsupportedSiteException » craft\errors\ElementException » yii\base\Exception » Exception
Since
3.4.29

Class UnsupportedSiteException

View source

Public Properties ​

PropertyDescription
elementcraft\base\ElementInterface – The element
siteIdinteger – The site ID that the element doesn’t support.

siteId ​

Type
integer
Default value
null

The site ID that the element doesn’t support.

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