0
Can one raise a custom exception type?
2 ответов
0
Yes; it's often good practice to define an error type specific to the problem or event you want to catch.
0
Yes, you can customize your error.
For istance, let us tipe raise ErrorName("explanation"): the output will be an error of type ErrorName with explanation as related information about your error.