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

[RFC] SQLite3: remove enableExceptions method, default to exceptions #9816

Closed
wants to merge 1 commit into from

Conversation

bohwaz
Copy link
Contributor

@bohwaz bohwaz commented Oct 24, 2022

With this patch, the enableExceptions method is removed, and all errors are thrown as SQLite3Exception.

Also, the error code is passed as the exception code, and not in the error message anymore.

BC-break: yes.

RFC: https://wiki.php.net/rfc/sqlite3_exceptions

@bohwaz
Copy link
Contributor Author

bohwaz commented Apr 11, 2023

Replaced by #11058

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.

1 participant