---
title: unreachableSubnodeNames()
framework: opendirectory
role: symbol
role_heading: Instance Method
path: opendirectory/odnode/unreachablesubnodenames()
---

# unreachableSubnodeNames()

Returns an array of the subnodes of a given node that are currently unreachable.

## Declaration

```swift
func unreachableSubnodeNames() throws -> [Any]
```

## Return Value

Return Value An array of unreachable subnodes.

## Discussion

Discussion note: In Swift, this method returns a nonoptional result and is marked with the throws keyword to indicate that it throws an error in cases of failure. You call this method in a try expression and handle any errors in the catch clauses of a do statement, as described in Error Handling in The Swift Programming Language and About Imported Cocoa Error Parameters.

## See Also

### Querying a Node

- [customCall(_:send:)](opendirectory/odnode/customcall(_:send:).md)
- [nodeDetails(forKeys:)](opendirectory/odnode/nodedetails(forkeys:).md)
- [nodeName](opendirectory/odnode/nodename.md)
- [subnodeNames()](opendirectory/odnode/subnodenames().md)
