Closed elemoine closed 7 years ago
With this commit psycopg2 IntegrityError's are converted to 404s, and all other psycopg2 Error's are converted to 400s. This makes it possible for the client to treat integrity errors differently.
With this commit psycopg2 IntegrityError's are converted to 404s, and all other psycopg2 Error's are converted to 400s. This makes it possible for the client to treat integrity errors differently.