Class craft\errors\InvalidSubpathException
- Inheritance
- craft\errors\InvalidSubpathException » yii\base\Exception » Exception
- Available since version
- 3.0
- Source Code
- https://github.com/craftcms/cms/blob/master/src/errors/InvalidSubpathException.php
Class InvalidSubpathException
Property | Type | Description | Defined By |
---|---|---|---|
$subpath |
string, null | The invalid subpath | craft\errors\InvalidSubpathException |
Method | Description | Defined By |
---|---|---|
__construct() |
Constructor. | craft\errors\InvalidSubpathException |
getName() |
craft\errors\InvalidSubpathException |
Property Details
$subpath
public property
#
The invalid subpath
public string, null $subpath = null
Method Details
__construct()
public method
#
Constructor.
public void __construct ( \craft\errors\string $subpath, \craft\errors\string $message = null, \craft\errors\int $code = 0 )
$subpath |
string | The invalid subpath |
$message |
string, null | The error message |
$code |
integer | The error code |
getName()
public method
#
public string getName ( )
return | string | The user-friendly name of this exception |
---|