LukeBrandon / fluke

5 stars 0 forks source link

Better Error Handling with PgDatabaseError #53

Closed FlynnOConnell closed 1 year ago

FlynnOConnell commented 1 year ago

We need better error handling with database errors. Handle the codes and messages within PgDatabaseError and propagate certain messages/codes up to our CustomError, status code 500 the rest of the errors.