Re: Re: Serializing exceptions

From: Date: Fri, 31 Jul 2015 23:02:51 +0000
Subject: Re: Re: Serializing exceptions
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-87466@lists.php.net to get a copy of this message
Hi! > week or two and I serialize exceptions (excluding stack trace arguments) > to send them back to the calling process to aid in debugging process > failures. But then you don't need to serialize Exception. You need to send the text representation of Exception, for humans to look at, not the live Exception object. Sending the actual object would be next to impossible anyway (i.e. how you send over the live DB connection on DB query exception?). -- Stas Malyshev smalyshev@gmail.com

« previous php.internals (#87466) next »