src/includes/classes/Core/Error.php
public function remove(string $slug = '')
    {
        if (!$slug) {
            $this->errors     = [];
            $this->error_data = [];
        } else {
            unset($this->errors[$slug]);
            unset($this->error_data[$slug]);
        }
    }
public function remove(string $slug = '')
    {
        if (!$slug) {
            $this->errors     = [];
            $this->error_data = [];
        } else {
            unset($this->errors[$slug]);
            unset($this->error_data[$slug]);
        }
    }
Remove error(s).

@since 160710 Error utils.

@param string $slug Error slug.