Lines Matching defs:e
92 } catch (ActionException $e) {
94 $actionname = $e->getNewAction();
97 if ($e instanceof ActionDisabledException) {
102 if ($e->displayToUser()) {
103 msg(hsc($e->getMessage()), -1);
108 } catch (NoActionException $e) {
112 } catch (\Exception $e) {
113 $this->handleFatalException($e);
124 * @param null|ActionException $e any previous exception that caused the transition
126 protected function transitionAction($from, $to, $e = null)
132 $this->handleFatalException(new FatalException('Infinite loop in actions', 500, $e));
137 $this->handleFatalException(new FatalException('Maximum action transitions reached', 500, $e));
149 * @param \Exception|FatalException $e
152 protected function handleFatalException(\Throwable $e)
154 if ($e instanceof FatalException) {
155 http_status($e->getCode());
160 throw $e;
162 ErrorHandler::logException($e);
163 $msg = 'Something unforeseen has happened: ' . $e->getMessage();