Closed jmv74211 closed 1 year ago
I'm going to create a generic exception class called QAFrameworkException
. This class will inherit from Exception
and will add some extra functionality, which is as follows:
Once the QAFrameworkException
is designed, we can define other subclasses to identify the exception according to a type and give the possibility to treat them differently.
The initially proposed subclasses are as follows:
It is requested to create a module that allows us to throw custom exceptions in the QA framework.