Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Feat: Enhanced errors #47

Open
DHedgecock opened this issue Jan 6, 2020 · 0 comments
Open

Feat: Enhanced errors #47

DHedgecock opened this issue Jan 6, 2020 · 0 comments

Comments

@DHedgecock
Copy link
Member

💥 Error handling improvements

  • Don't catch UniqueConstraintError, add it to switch statement in error handlers
  • PG specific errors should be mapped in the db layer to custom service errors
  • Create a util for extending an error message so that context can be layered on it as it bubbles up the service stack
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant