Error handling finalized

This commit is contained in:
Saqib Razzaq 2017-01-19 15:38:09 +05:00
parent 35bde83095
commit eb314e090d

View file

@ -29,6 +29,7 @@ class errorhandler extends ClipBucket {
private function add_warning($message=NULL,$id=NULL) {
$this->warning_list[] = $message;
$this->user_errors['medium_priority'][] = $message;
$this->error_list['all_errors']['user_error']['medium_priority'][] = $message;
}
/**
@ -193,6 +194,7 @@ class errorhandler extends ClipBucket {
$thrown_error['file_line'] = $calling_line;
$this->addAll($thrown_error, $state, 'developer_errors');
}
}