3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
12 namespace Civi\Core\Event
;
15 * Class UnhandledExceptionEvent
16 * @package Civi\API\Event
18 class UnhandledExceptionEvent
extends GenericHookEvent
{
26 * Reserved for future use.
36 public function __construct($e, $request) {
37 $this->request
= $request;
38 $this->exception
= $e;
44 public function getHookValues() {
45 return [$this->exception
, $this->request
];