← Docs
kotlin-stdlib / kotlin.io.path / OnErrorResult / TERMINATE

TERMINATE

JVM
JRE7
1.0
TERMINATE
(source)

Stop the recursive copy function. The function will return without throwing exception. To terminate the function with an exception rethrow instead.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .