Action::attachException becomes Action::attachError to be able
to inject the dependency to ActionError.
Code to use is:
$actionToReport->attachError(new ActionError($exception));
Differential D171
Inject dependency into Action::attachError dereckson on Jan 8 2016, 04:11. Authored by Tags None Referenced Files
Subscribers None
Details
Action::attachException becomes Action::attachError to be able Code to use is: $actionToReport->attachError(new ActionError($exception)); Send a payload to a gate.
Diff Detail
|