Skip to content

Commit 4c76c6f

Browse files
KenjiOhtsukaqwwdfsad
authored andcommitted
Update exception-handling.md
1 parent 52f10c7 commit 4c76c6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/exception-handling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ coroutine throw an exception?
4747

4848
Coroutine builders come in two flavors: propagating exceptions automatically ([launch] and [actor]) or
4949
exposing them to users ([async] and [produce]).
50-
The former treat exceptions as unhandled, similar to Java's `Thread.uncaughExceptionHandler`,
50+
The former treat exceptions as unhandled, similar to Java's `Thread.uncaughtExceptionHandler`,
5151
while the latter are relying on the user to consume the final
5252
exception, for example via [await][Deferred.await] or [receive][ReceiveChannel.receive]
5353
([produce] and [receive][ReceiveChannel.receive] are covered later in [Channels](https://github.com/Kotlin/kotlinx.coroutines/blob/master/docs/channels.md) section).

0 commit comments

Comments
 (0)