Add error code to DatabaseError
Puts pgcode into DatabaseError to be treated on the app