I am calling a controller with Ajax Post, In the controller, catch is returning a custom error page, instead of returning the error message.
Catch Controller: