Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+ Added configurable via events option to handle indexing errors, for…
… instance to prevent exception from stopping whole application
- Loading branch information
1 parent
e88f06f
commit 475e3b8
Showing
4 changed files
with
65 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php | ||
/** | ||
* Created by PhpStorm. | ||
* User: peter | ||
* Date: 19.06.18 | ||
* Time: 08:39 | ||
*/ | ||
|
||
namespace Maslosoft\Manganel\Events; | ||
|
||
|
||
use Exception; | ||
use Maslosoft\Mangan\Events\ModelEvent; | ||
|
||
class ErrorEvent extends ModelEvent | ||
{ | ||
/** | ||
* Exception intercepted by this event | ||
* @var Exception | ||
*/ | ||
public $exception = null; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters