0

Exceptions and raises

What are the differences between exceptions and raises?

9th Aug 2020, 2:12 AM
ronald
ronald - avatar
1 Odpowiedź
+ 3
raise is for raising intentional errors. usefull for custom errors ones you might make. except is for catching unintentional errors. maybe for something random like user input. all of these are paired with try.
9th Aug 2020, 2:16 AM
Randomocity
Randomocity - avatar