Antoine wrote:
> It could be beneficial for the whole ecosystem to have as well exceptions 
> type hint.

Here are my short notes on the topic.
https://github.com/Danack/RfcCodex/blob/master/throws_declaration.md

tl:dr someone probably needs to come up with a strong reason for why
it would be a good thing.

On Wed, 29 Jun 2022 at 17:39, Larry Garfield <la...@garfieldtech.com> wrote:
>
>   We are definitely not ready for that kind of fundamental rethink of how 
> error handling works in PHP.

I dunno. The current model is causing quite a few disagreements and
pain, and you made a good case for how it could be better.

It'd be a huge piece of work, but a better way of handling errors
would be a significant improvement for PHP.

cheers
Dan
Ack

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to