---
title: "SelectionResult"
description: "Result of [SemanticsSelector] projection."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
class SelectionResult(
    val selectedNodes: List<SemanticsNode>,
    val customErrorOnNoMatch: String? = null,
)
```


Result of `SemanticsSelector` projection.

#### Parameters

| | |
| --- | --- |
| selectedNodes | The result nodes found. |
| customErrorOnNoMatch | If the projection failed to map nodes due to wrong input (e.g. selector expected only 1 node but got multiple) it will provide a custom error exactly explaining what selection was performed and what nodes it received. |




