Questions tagged [jerror]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
20
votes
3answers
8k views

Whats the correct way for exception handling?

In Joomla core I find still many calls like this: // Check for errors. if (count($errors = $this->get('Errors'))) { JError::raiseError(500, implode("\n", $errors)); ...
5
votes
2answers
926 views

How to catch an error in Joomla 3.5 (alternative to JError)

I've read the Exception methods in order to replace the deprecated JError, but I can't solve the following problem: I have a plugin that redirects an user to a login page in case he/she tries to ...