|
|
|
|
|
by lmm
498 days ago
|
|
> You can easily capture the error and conditionally handle it Sure. But the compiler won't help you check that your function only throws the errors that you think it does, or that your try block is handling all the errors that can be thrown inside it. |
|
It will do both of those:
It wouldn't hurt to just read the docs before making confident claims.