hello all,
I wish to know how I can pick up the constraint failure errors in my code?
I think I would probably have to pick up the errors in a try: except: system?
But What is the exact way of picking up the message?
Do we have a ready made exception for each constraint? such as Unique or Check?
Or is there a common one and message is to be picked up?
i am using Alchemy with Psycopg2 for postgresql 9.4
Happy hacking.
Krishnakant.

--
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to