Forum OpenACS Q&A: Re: Obtaining the real DB error

Collapse
Posted by Randy O'Meara on
Thank you, Jade. I am able to see the error. I just need to program responses to DB errors. There must be a method to access the real error. Do folks just throw up a generic "there was an error" message and disregard dealing with it?
Collapse
Posted by Jade Rubick on
I haven't done this much, but a lot of good error messages can be shown when you're using ad_form or ad_page_contract. Maybe you can give us more info on what you're trying to do?

ad_form's error handling is especially good.