Description

An error has occurred and the server needs to be stopped.

Since 1.19

Signature

error: Eina.Error;

C information

C usage

static void
on_efl_net_server_event_error(void *data, const Efl_Event *event)
{
    Eina_Error info = event->info;
    Eo *obj = event->object;
    Data *d = data;
 
    /* event hander code */
}
 
static void
setup_event_handler(Eo *obj, Data *d)
{
    efl_event_callback_add(obj, EFL_NET_SERVER_EVENT_ERROR, on_efl_net_server_event_error, d);
}