Re: [RFC][VOTE] Throwable error code's type generalization

From: Date: Sun, 08 Jan 2017 15:20:04 +0000
Subject: Re: [RFC][VOTE] Throwable error code's type generalization
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-97586@lists.php.net to get a copy of this message
I don't see how objects are less important than strings. Many of us have enum-ish kind of objects in their code, even if php doesn't support them natively. We could consider using them as error code if this was allowed.

« previous php.internals (#97586) next »