public function getLast($clear = false)
    {
        if (count($this->errors) < 1) {
            return false;
        }

        if ($clear) {
            $error = array_shift($this->errors);

            return $error;
        }
        return $this->errors[0];
    }