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

Use Postgres error codes #297

Open
joshbwlng opened this issue Jan 5, 2021 · 0 comments
Open

Use Postgres error codes #297

joshbwlng opened this issue Jan 5, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@joshbwlng
Copy link
Collaborator

pg-promise error objects include the Postgres error code when errors occur. This error code should be used when checking for specific errors instead of pattern matching against the error message.

@joshbwlng joshbwlng added the enhancement New feature or request label Jan 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant