parent::addBodyContent($content);
}
+ /**
+ * Muestra un error a través y termina el programa.
+ */
+ function error($msg)
+ {
+ require_once 'MECON/HTML/Error.php';
+ $this->addBodyContent(new MECON_HTML_Error($msg));
+ $this->display();
+ exit;
+ }
+
}
?>
\ No newline at end of file