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

Property Description
element craft\base\ElementInterface – The element
siteId integer – The site ID that the element doesn’t support.

# siteId

Type
integer

The site ID that the element doesn’t support.

View source

# Public Methods

Method Description
__construct() Constructor.
getName()

# __construct()

Constructor.

View source

Arguments

# getName()

View source

Returns

string – The user-friendly name of this exception