InvalidSubpathException

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

Class InvalidSubpathException

View source

Public Properties

PropertyDescription
$subpathstring, null – The invalid subpath

$subpath

Type
string, null

The invalid subpath

View source

Signature

public string, null $subpath = null

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

Signature

public void __construct ( \craft\errors\string $subpath, \craft\errors\string $message = null, \craft\errors\int $code = 0 )

getName()

View source

Returns

string – The user-friendly name of this exception

Signature

public string getName ( )