def nl_socket_modify_err_cb(sk, kind, func, arg):
return int(nl_cb_err(sk.s_cb, kind, func, arg))<EOL>
Modify the error callback handler associated with the socket.

    https://github.com/thom311/libnl/blob/libnl3_2_25/lib/socket.c#L649

    Positional arguments:
    sk -- Netlink socket (nl_sock class instance).
    kind -- kind of callback (integer).
    func -- callback function.
    arg -- argument to be passed to callback function.

    Returns:
    0 on success or a negative error code.