On Thu, 24 Sept 2026 at 09:50, Sjoerd Langkemper <[email protected]> wrote:
> On Fri, Sep 4, 2026, at 16:38, Tim Düsterhus wrote: > > I would probably make this > a conservative change and go with the plain `\Exception` exception > directly. > > > Thanks. I changed the RFC to propose throwing an Exception instead of a > ValueError: > https://wiki.php.net/rfc/throw_error_for_invalid_characters_for_number_base > > Regards, > > Sjoerd > Hello, throwing an Exception is in the correct direction. However, would it be possible to have some more specific exception type? `\UnexpectedValueException` looks like a good candidate. Kind regards, Lazare
