public function addPredefinedError($id, $message = '')
    {
        if (is_array($id)) {
            $this->errorList = array_diff_key($this->errorList, $id) + $id;
        } else {
            $this->errorList[$id] = $message;
        }
    }