0 follower

Final Class Yiisoft\Yii\Middleware\Exception\BadUriPrefixException

InheritanceYiisoft\Yii\Middleware\Exception\BadUriPrefixException » Exception
ImplementsYiisoft\FriendlyException\FriendlyExceptionInterface

Method Details

Hide inherited methods

getName() public method

public string getName ( )

                public function getName(): string
{
    return 'Bad URI prefix';
}

            
getSolution() public method

public string|null getSolution ( )

                public function getSolution(): ?string
{
    return <<<SOLUTION
        Most likely you have specified the wrong URI prefix.
        Make sure that path from the web address contains the specified prefix (immediately after the domain part).
        The prefix value usually begins with a slash and must not end with a slash.
        The prefix should be exact match. We're not trimming it or adding anything to it.
        SOLUTION;
}