Embera\Formatter::getLastError PHP Method

getLastError() public method

Gets the last error found
public getLastError ( ) : string
return string
    public function getLastError()
    {
        $errors = $this->getErrors();
        return end($errors);
    }