I see that the JError has been deprecated. I am a bit of an amateur and have a few questions. Going through exising code, there are a lot of custom error codes for Joomla. Now that JError is deprecated, what are we supposed to replace it with? PHP trigger_error? I can see a lot of people now making their own custom exception classes for their extensions. Isn't this a huge potential source of bugs? For instance if several running extensions/plugins use their own custom exception classes and error handlers. --
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/YU2IR4avpIMJ.
To post to this group, send an email to joomla-de...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-gene...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.
--
You received this message because you are subscribed to a topic in the Google Groups "Joomla! General Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/joomla-dev-general/Z8e-GPOuXrI/unsubscribe.
To unsubscribe from this group and all of its topics, send an email to joomla-dev-gene...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-general.
For more options, visit https://groups.google.com/groups/opt_out.
To unsubscribe from this group and all of its topics, send an email to joomla-dev-general+unsub...@googlegroups.com.
To unsubscribe from this group and all of its topics, send an email to joomla-dev-gene...@googlegroups.com.
Somewhere in this flow the error message should be translated using JText. Since JText is template specific the most logical place to do this would be in the error.php template. Right now the error is here outputted directly.
For more details: see that old thread.