Final Class Yiisoft\Yii\Middleware\Exception\BadUriPrefixException
| Inheritance | Yiisoft\Yii\Middleware\Exception\BadUriPrefixException » Exception |
|---|---|
| Implements | Yiisoft\FriendlyException\FriendlyExceptionInterface |
Public Methods
| Method | Description | Defined By |
|---|---|---|
| getName() | Yiisoft\Yii\Middleware\Exception\BadUriPrefixException | |
| getSolution() | Yiisoft\Yii\Middleware\Exception\BadUriPrefixException |
Method Details
| 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;
}
Signup or Login in order to comment.