Back to Joomla project (class list)

Class ErrorEvent - list of methods

Event class for representing the application's `onError` event

Extends

Package: Joomla\CMS\Event
Copyright: (C) 2018 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE
Located at: Joomla/Event/ErrorEvent.php
Project: Joomla

Method Summary

public \Joomla\Application\AbstractApplication
()

Get the event's application object
Returns
  • \Joomla\Application\AbstractApplication
Since
  • 4.0.0
Show source code of this method: getApplication Source Code

public \Throwable
()

Get the event's error object
Returns
  • \Throwable
Since
  • 4.0.0
Show source code of this method: getError Source Code

public void
(\Throwable $error)

Set the event's error object
Parameters
  • \Throwable $error The new error to process
Returns
  • void
Since
  • 4.0.0
Show source code of this method: setError Source Code

Tags Summary

Since
4.0.0