From bf58f0cb1e8f58e67188df664dba900b1fd39932 Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Sat, 28 Mar 2020 12:59:33 +0000 Subject: [PATCH] Add smarty error event --- Civi/Core/Event/SmartyErrorEvent.php | 51 ++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 Civi/Core/Event/SmartyErrorEvent.php diff --git a/Civi/Core/Event/SmartyErrorEvent.php b/Civi/Core/Event/SmartyErrorEvent.php new file mode 100644 index 0000000000..e27fb3ae4d --- /dev/null +++ b/Civi/Core/Event/SmartyErrorEvent.php @@ -0,0 +1,51 @@ +errorMsg = $errorMsg; + $this->errorType = $errorType; + } + + /** + * @inheritDoc + */ + public function getHookValues() { + return [$this->errorMsg, $this->errorType]; + } + +} -- 2.25.1