An exception handler is passed an exception and must translate that into something that is serializable.
In the case of Amf, it must return an Amfphp_Core_Amf_Packet object containing the relevant information
| package | Amfphp_Core_Common |
|---|---|
| author | Ariel Sommeria-klein |
handleException(\Exception $exception) : mixed
mixedan object describing the error, that will be serialized and sent back to the client