[android-components](../../../index.md) / [mozilla.components.concept.engine.prompt](../../index.md) / [PromptRequest](../index.md) / [Share](index.md) / [onFailure](./on-failure.md)

# onFailure

`val onFailure: () -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/concept/engine/src/main/java/mozilla/components/concept/engine/prompt/PromptRequest.kt#L247)

Callback to notify that the user attempted to share with another app, but it failed.

### Property

`onFailure` - Callback to notify that the user attempted to share with another app, but it failed.