* This file is part of the ManageWP Worker plugin.
* (c) ManageWP LLC <contact@managewp.com>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
class MWP_Event_ActionException extends Symfony_EventDispatcher_Event
/** @var Exception|Error */
* @var MWP_Http_ResponseInterface|null
public function __construct(MWP_Worker_Request $request, $exception)
$this->request = $request;
$this->exception = $exception;
public function getException()
* @return MWP_Http_ResponseInterface|null
public function getResponse()
* @param MWP_Http_ResponseInterface|null $response
public function setResponse(MWP_Http_ResponseInterface $response = null)
$this->response = $response;
public function getData()
public function setData(array $data)
* @return MWP_Worker_Request
public function getRequest()