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

From: Date: Sun, 08 Jan 2017 18:22:50 +0000
Subject: Re: [RFC][VOTE] Throwable error code's type generalization
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-97590@lists.php.net to get a copy of this message
2017-01-08 16:20 GMT+01:00 Wes <netmo.php@gmail.com>: > 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. > An object is nothing I can really stringify and use in log aggregations. Regards, Niklas

« previous php.internals (#97590) next »