On Monday, 15 November 2021 at 22:44:35 UTC, Ali Çehreli wrote:
On 11/15/21 2:28 PM, pascal111 wrote: > [...] "throw" statement > [...]Such a list is not very useful. Normally all we need is Exception and occasionally one or two other specific types.[...]
What if I expect more than one exception a function can do in "try" block, and I need more than one "catch" block after that, so I'll need to define the exception, or you can turn around this with some way?