Is there an easy way to throw an exception e.g.:
throw new CHttpException(404,‘My AJAX thrown exception.’);
From within an ajax return and have that information displayed?
Ideally I would like the entire page to change to a custom error page. As it is now, nothing is shown to the user, nothing visibly changes on the page and execution halts but the exception message IS logged appropriately.
The same exception thrown on a non ajax page works fine and produces the expected error page from
from within site/error.