The error class should be located in: root/admin/inc/QC_error
Study this page to design error hierarchies.
Attributes used to create error:
- function where error happens.
- message of what went wrong.
error version control will be a future feature
Class attributes:
public $errors = [];
Class methods:
QC_panel.php