[android-components](../index.md) / [mozilla.components.support.utils](index.md) / [toSafeIntent](./to-safe-intent.md)

# toSafeIntent

`fun <ERROR CLASS>.toSafeIntent(): `[`SafeIntent`](-safe-intent/index.md) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/support/utils/src/main/java/mozilla/components/support/utils/SafeIntent.kt#L99)

Returns a [SafeIntent](-safe-intent/index.md) for the given [Intent](#).

