I'm not sure what you are referring to... is there a particular error you are trying to capture, or do you always want to go to the cart instead of the error page? I just need a bit more information about what the exact problem is and what you are trying to do so I can give the correct direction.