Skip to content

Commit 9ade16a

Browse files
committed
Merge branch 'master' into develop
2 parents 4e60132 + 20f184a commit 9ade16a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental/CoroutineExceptionHandler.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ fun handleCoroutineException(context: CoroutineContext, exception: Throwable) {
4444
}
4545

4646
/**
47-
* An optional element on the coroutine context to handler uncaught exceptions.
47+
* An optional element on the coroutine context to handle uncaught exceptions.
4848
* See [handleCoroutineException].
4949
*/
5050
public interface CoroutineExceptionHandler : CoroutineContext.Element {
@@ -55,7 +55,7 @@ public interface CoroutineExceptionHandler : CoroutineContext.Element {
5555

5656
/**
5757
* Handles uncaught [exception] in the given [context]. It is invoked
58-
* only when everything else fails. See [handleCoroutineException].
58+
* if coroutine has an uncaught exception. See [handleCoroutineException].
5959
*/
6060
public fun handleException(context: CoroutineContext, exception: Throwable)
6161
}

0 commit comments

Comments
 (0)