Re: [RFC] Throwable Hierarchy Policy for Extensions
| From: | Kamil Tekiela | Date: | Sun, 27 Apr 2025 21:16:18 +0000 |
| Subject: | Re: [RFC] Throwable Hierarchy Policy for Extensions | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-127214@lists.php.net to get a copy of this message | ||
>Do you have a wording suggestion to make it clearer what is meant by
that sentence?
How about this:
The exception message MUST NOT be the only means of distinguishing
exceptions. Any two exceptions with different messages MUST be
identifiable either by a unique exception class name or code.