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 – The invalid subpath

subpath ​

Type
string
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, null) – The previous exception

getName() ​

View source

Returns ​

string – The user-friendly name of this exception