private function displayErrors() { echo '<pre>'; foreach ($this->error as $single_error) { print_r($single_error); } echo '</pre>'; }