Class luya\Exception

Inheritanceluya\Exception » yii\base\Exception » Exception
Subclassesluya\cms\Exception, luya\exceptions\WhitelistedException
Available since version1.0.0
Source Code

LUYA base exception.

Exception wrapper for {{yii\base\Exception}}, represents a generic exception for all purposes.

Public Methods

Hide inherited methods

Method Description Defined By
getName() luya\Exception

Method Details

Hide inherited methods

getName() public method

public string getName ( )
return string

The user-friendly name of this exception.

                public function getName()
    return 'LUYA Exception';