Say we have an eventsource client connected to a server and receiving messages.
Il the server goes down, the onerror callback is invoked, which is fine, but the event that is passed only contains { type: 'error' }
Could it be possible to add more info to the event, like the original error code ('ECONNREFUSED' for instance) ?