Update the mutable integer `arg` with the error code.

def error_handler(_, err, arg):
    """Update the mutable integer `arg` with the error code."""
    arg.value = err.error
    return libnl.handlers.NL_STOP