-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Reworked driver exceptions #3505
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
2. `Doctrine\DBAL\Driver\PDOException` no longer extends `PDOException`. | ||
3. The value returned by `Doctrine\DBAL\Driver\PDOException::getSQLState()` no longer falls back to the driver error code. | ||
|
||
The method was used internally and is no longer needed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't be here, looks like a copy&paste error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, incorrect conflict resolution. I'll remove it later.
Reworked driver exceptions
Reworked driver exceptions
Reworked driver exceptions
Besides the breaking changes necessitated by enforcing strict scalar types and adding return type hints, named constructors were added to
DB2Exception
andMysqliException
.