[android-components](../../index.md) / [mozilla.components.feature.syncedtabs.view](../index.md) / [SyncedTabsView](index.md) / [onError](./on-error.md)

# onError

`abstract fun onError(error: `[`ErrorType`](-error-type/index.md)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/syncedtabs/src/main/java/mozilla/components/feature/syncedtabs/view/SyncedTabsView.kt#L35)

An error has occurred that may require various user-interactions based on the [ErrorType](-error-type/index.md).

