Open VincentLanglet opened 5 months ago
Friendly ping @nunomaduro @gehrisandro,
Is something missing for a review ? Since https://github.com/openai-php/client/pull/287 got interest but no reaction, I'm trying to moving it forward with smaller PR. Please tell me if I can do it better :)
Thanks
I agree that this is a useful and beneficial improvement. I see no reason why this cannot be merged @nunomaduro
Anyway to move forward this PR @gehrisandro @nunomaduro ?
Thanks a lot
What:
Description:
Hi @gehrisandro
I'm trying to move https://github.com/openai-php/client/pull/287 forward by splitting it in 3 smaller PRs:
The purpose of this PR is to provide an easy way to try/catch method of this lib:
\Exception
which catch everythingOpenAI\Exceptions\ErrorException|OpenAI\Exceptions\InvalidArgumentException|...
which is complicated and can miss an exception if a new one is introduced later.Related:
https://github.com/openai-php/client/pull/287