Craft 3 Class Reference

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

Public Properties
Property Type Description Defined By
$subpath string, null The invalid subpath craft\errors\InvalidSubpathException
Public Methods
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