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\ |
|
| getSolution() | Yiisoft\ |
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;
User Contributed Notes
Leave a comment
Join the conversation to share a note.