Skip to content

Commit 8cfee00

Browse files
authored
Apply suggestion from @xepozz
1 parent 4d1259a commit 8cfee00

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Solution/SolutionProviderInterface.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
namespace Yiisoft\ErrorHandler\Solution;
66

7+
/**
8+
* The interface declares an adapter to render a solution for an event.
9+
* Basically, it renders the error message as-is, but possible could render a button with click-to-fix action that will be handled by an HTTP request (with middleware) back to server.
10+
*/
711
interface SolutionProviderInterface
812
{
913
public function supports(\Throwable $e): bool;

0 commit comments

Comments
 (0)