Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error handling for different error codes #2

Open
2 tasks
Miconen opened this issue Jan 7, 2024 · 0 comments
Open
2 tasks

Improve error handling for different error codes #2

Miconen opened this issue Jan 7, 2024 · 0 comments
Assignees
Labels
Needs Implementation Needs to be implemented

Comments

@Miconen
Copy link
Owner

Miconen commented Jan 7, 2024

Improve error handling and utilize all the supported HTTP status codes based on database results

  • Extract the pgx.PgError.Code from errors
  • Handle errors conditionally based on error code
@Miconen Miconen added the Needs Implementation Needs to be implemented label Jan 7, 2024
@Miconen Miconen self-assigned this Jan 7, 2024
@Miconen Miconen moved this to Todo in Tectonic Development Jan 7, 2024
@Miconen Miconen moved this from Todo to In Progress in Tectonic Development Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Implementation Needs to be implemented
Projects
Status: In Progress
Development

No branches or pull requests

1 participant