I have a jquery ajax call to my controller action. Now in my controller, it went catch. Now I need to invoke error function of my ajax call. If I throw error, this will work. Is there any other method to invoke error function.
Bye the way, my controller's action's return type is string/void.