From: Stanislav Malyshev [mailto:smalys...@gmail.com], Sent: Monday, March 23, 
2015 7:45 AM

> Hi!
>
>> Maybe you can implement the __sleep method and just return the
>> documented attributes (message, code, file, line).
>
>That would be an option, but before going there, my question is - does
>anybody need it, really?
>

Hi.

Symfony2 stores an `AuthenticationException` in the session,
when login credentials are invalid.

I think, exceptions should be serializable. One could strip
the objects from the backtrace and document it like that.

Christian

Reply via email to