Re: [RFC][VOTE] Throwable error code's type generalization
| From: | Niklas Keller | Date: | Sun, 08 Jan 2017 11:31:35 +0000 |
| Subject: | Re: [RFC][VOTE] Throwable error code's type generalization | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-97577@lists.php.net to get a copy of this message | ||
>
> linking to the discussion thread http://externals.io/thread/573
> because I
> don't have much more to add.
>
> I think the throwable's code is almost never used regardless, but this
> could give users more opportunities to do something useful with it as
> Niklas stated in previous thread.
>
Hi Wes,
why did you go for
mixed instead of string|int? Error codes being
objects still doesn't make sense to me.
Regards, Niklas