``` val reportErrorTokenInFace: () -> Unit = { ...
# getting-started
d
Copy code
val reportErrorTokenInFace: () -> Unit = {
        println("Hey there")
    }

    fun foo() {
        reportErrorTokenInFace().returnToCaller { return@foo }
        println("This should not be executed!")
    }

    inline fun Unit.returnToCaller(handler: () -> Unit)  {
        println("Return to the calling function")
        handler()
    }