Skip to content

InvalidSubpathException ​

Type
Class
Namespace
craft\errors
Inherits
craft\errors\InvalidSubpathException » yii\base\Exception » Exception
Since
3.0.0

Class InvalidSubpathException

View source

Public Properties ​

PropertyDescription
subpathstring, null – The invalid subpath

subpath ​

Type
string, null
Default value
null

The invalid subpath

View source

Public Methods ​

MethodDescription
__construct()Constructor.
getName()

__construct() ​

Constructor.

View source

Arguments ​

  • $subpath (string) – The invalid subpath
  • $message (string, null) – The error message
  • $code (integer) – The error code
  • $previous (Throwable) – The previous exception

getName() ​

View source

Returns ​

string – The user-friendly name of this exception