HomeDevCentral

Inject dependency into Action::attachError

Description

Inject dependency into Action::attachError

Summary:
Action::attachException becomes Action::attachError to be able
to inject the dependency to ActionError.

Code to use is:

$actionToReport->attachError(new ActionError($exception));

Test Plan: Send a payload to a gate.

Reviewers: dereckson

Differential Revision: http://devcentral.nasqueron.org/D171

Details

Provenance
derecksonAuthored on
Differential Revision
D171: Inject dependency into Action::attachError
Parents
rNOTIF75f07436c1e4: Fixed whitespace issue
Branches
Unknown
Tags
Unknown