Embera\Formatter::hasErrors PHP Method

hasErrors() public method

Checks if there were errors
public hasErrors ( ) : boolean
return boolean
    public function hasErrors()
    {
        return $this->embera->hasErrors() || !empty($this->errors);
    }