Handling the Exceptions

Understand how to handle exceptions with coroutines.

We'll cover the following...

If a caller sends a wrong value, the coroutine will terminate, raising an error. Does this ring a bell? Recall that when writing the maximum coroutine, we asked you to assume that all values would be integers. Now, at this point in the course, we are ready to get hands-on experience in dealing with such cases like sending a value of the wrong type.

Discovering

...
Access this course and 1400+ top-rated courses and projects.