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

DB2Exception doesn't implement the DriverException interface #4044

Closed
morozov opened this issue Jun 2, 2020 · 2 comments · Fixed by #4085
Closed

DB2Exception doesn't implement the DriverException interface #4044

morozov opened this issue Jun 2, 2020 · 2 comments · Fixed by #4085

Comments

@morozov
Copy link
Member

morozov commented Jun 2, 2020

Q A
BC Break no
Version 2.10.2

Summary

The fact that the class doesn't implement the interface makes it impossible to work with the driver in a portable way (i.e. to catching a specific interface and use the error code and SQLSTATE).

Current behaviour

use Exception;
/**
* @psalm-immutable
*/
class DB2Exception extends Exception
{
}

@morozov
Copy link
Member Author

morozov commented Jun 19, 2020

Closed via #4085.

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant