/**
  * Return array of strings containing errors that occurred during processInput
  * 
  * Note that this is different from Wire::errors() in that it retrieves errors from the session
  * rather than just the current run. 
  *
  * @param bool $clear Optionally clear the errors after getting them. Default=false.
  * @return array
  *
  */
 public function getErrors($clear = false)
 {
     $key = $this->getErrorSessionKey();
     $errors = $this->session->get($key);
     if (!is_array($errors)) {
         $errors = array();
     }
     if ($clear) {
         $this->session->remove($key);
         parent::errors("clear");
     }
     return $errors;
 }