Interface Yiisoft\FriendlyException\FriendlyExceptionInterface
| Extends | Throwable |
|---|
Provides a friendly name and a possible solution for an exception.
Error handlers may consider the interface to render additional information right at the error screen.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| getName() | Yiisoft\FriendlyException\FriendlyExceptionInterface | |
| getSolution() | Yiisoft\FriendlyException\FriendlyExceptionInterface |
Method Details
| public abstract string getName ( ) | ||
| return | string |
Human understandable exception name. |
|---|---|---|
public function getName(): string;
| public abstract string|null getSolution ( ) | ||
| return | string|null |
Suggestion on how to fix an exception.
|
|---|---|---|
public function getSolution(): ?string;
Signup or Login in order to comment.