Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Closed
bohwaz wants to merge 1 commit into
php:masterphp/php-src:masterfrom
bohwaz:sqlite3/exceptionsbohwaz/php-src:sqlite3/exceptionsCopy head branch name to clipboard
Closed

[RFC] SQLite3: remove enableExceptions method, default to exceptions#9816
bohwaz wants to merge 1 commit into
php:masterphp/php-src:masterfrom
bohwaz:sqlite3/exceptionsbohwaz/php-src:sqlite3/exceptionsCopy head branch name to clipboard

Conversation

@bohwaz
Copy link
Copy Markdown
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
Copy Markdown
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.