# [RFC] Throw Error in Extensions

- Thread: https://externals.io/message/93960
- Original archive: https://news-web.php.net/php.internals/93960
- Started by Aaron Piotrowski on 2016-06-14T16:46:29+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #93960 — Aaron Piotrowski — 2016-06-14T16:46:29+00:00

URL: https://externals.io/message/93960#93960

Hello,

I have written a short RFC to change most conditions in extensions that raise `E_ERROR` or `E_RECOVERABLE_ERROR` to throw an instance of Error instead. This change follows the conversion of most of these errors in the engine to thrown exceptions.

RFC: https://wiki.php.net/rfc/throw_error_in_extensions
PR: https://github.com/php/php-src/pull/1942

Thanks!

Aaron Piotrowski
