Hi guys,
i am writing a simple program in c++ using postgresql.

I'd like though to handle the possible exceptions that will arise. Can u tell me where can I find these exception that postgresql provide?

I don't know if this
HTML Code:
has to do with the exceptions I said. If it does, how can I use the error_codes in the c++ program?

If it doesn't, where can I find the exceptions I described and how can I use them in my program?

Thanks in advance