-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
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:
- usage_error - Call this function when used the wrong way
- system_error - Call this function when system has error
- draw_error - Display all errors
QC_panel.php
- Add draw_error hook underneath tag
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed