wazuh / qa-system-framework

GNU General Public License v2.0
1 stars 3 forks source link

Add custom exceptions module #14

Closed jmv74211 closed 1 year ago

jmv74211 commented 1 year ago
Related issue
#3

This PR adds a module to manage custom exceptions.

I have created 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: