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

(BREAKING) add useful information to database/migration errors #3357

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

abonander
Copy link
Collaborator

@abonander abonander commented Jul 20, 2024

closes #3351

Breaking changes:

  • (low impact) renamed PgDatabaseError::position() to ::pg_error_position() to not conflict with DatabaseError::position().

Blocked on #3364 because the Arc<str>s everywhere can just be replaced with SqlStr.

@abonander abonander force-pushed the issue-3351 branch 2 times, most recently from 08e620b to 2ab1202 Compare July 20, 2024 04:05
@abonander abonander changed the title (BREAKING) add position information to database errors (BREAKING) add useful information to database/migration errors Jul 20, 2024
Breaking change: renamed `PgDatabaseError::position()` to `::pg_error_position()` to not conflict with `DatabaseError::position()`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feature request]: more detailed errors when executing or running migrations
1 participant